Web Scraping in a Google Chrome Extension (JavaScript + Chrome APIs)

后端 未结 7 985
独厮守ぢ
独厮守ぢ 2020-12-12 09:31

What are the best options for performing Web Scraping of a not currently open tab from within a Google Chrome Extension with JavaScript and whatever more te

7条回答
  •  没有蜡笔的小新
    2020-12-12 10:28

    I think you can start from this example.

    So basically you can try using Extension + Plugin combination. Extension would have access to DOM (including plugin) and drive the process. And Plugin would send actual HTTP requests.

    I can recommend using Firebreath as a crossplatform Chrome/Firefox plugin platform, in particular take a look at this example: Firebreath - Making+HTTP+Requests+with+SimpleStreamsHelper

提交回复
热议问题