简体   繁体   English

将HTML表列导出到文本列表

[英]Export HTML table column to text list

I'd like to export/copy table columns from two sites, Allmusic and Wikipedia, in the form of a text list. 我想以文本列表的形式从两个网站Allmusic和Wikipedia导出/复制表列。 Both columns (one for each site) contain the track listing for a particular music album. 两列(每个站点一个)包含特定音乐专辑的曲目列表。 I'd like to have the text lists in this form: 我想要这种形式的文本列表:

    SongTitle1
    SongTitle2
    etc.

As I understand it, both sites do not have an API. 据我了解,两个站点都没有API。 At least, in the case of Allmusic I believe that the API is only accessable for paid subscribers. 至少,对于Allmusic,我认为该API仅可用于付费订户。 This leaves me with the option of scraping directly from the HTML page. 这让我可以选择直接从HTML页面抓取。

What would be the easiest way to achieve this? 实现这一目标的最简单方法是什么? Preferably, I'd like something light-weight like a Firefox add-on. 最好是,我想要轻巧的东西,例如Firefox附加组件。

我已经完成了许多在线年度报告(大量表格)的工作,并且实际上将页面加载到(咳嗽,咳嗽)Dreamweaver或MS Word中为您提供了最简单的界面来选择和复制表格中的列。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM