【文件属性】:
文件名称:node-website-scraper-phantom:用于网站抓取工具的插件,该插件使用PhantomJS返回动态网站的html
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-03 15:54:49
nodejs javascript scraper phantomjs hacktoberfest
网站-scraper-phantom
用于抓取工具的插件,该插件使用PhantomJS返回动态网站的html。
该模块是一个开放软件,由一名开发人员在空闲时间维护。 如果要感谢本模块的作者,可以使用或 。
要求
nodejs版本> = 8
网站刮板版本> = 4
如果您需要网站刮板版本<4的插件,则可以在找到它(版本0.1.0)
安装
npm install website-scraper website-scraper-phantom
用法
const scrape = require ( 'website-scraper' ) ;
const PhantomPlugin = require ( 'website-scraper-phantom' ) ;
scrape ( {
urls : [ 'https://www.instagram.com/gopro/' ] ,
【文件预览】:
node-website-scraper-phantom-master
----.travis.yml(64B)
----index.js(829B)
----package.json(1KB)
----.github()
--------no-response.yml(657B)
--------stale.yml(697B)
----test()
--------mock()
--------phantom-plugin.test.js(1KB)
----LICENSE(1KB)
----src()
--------script.js(423B)
--------get-phantom-html.js(772B)
----.gitignore(43B)
----README.md(2KB)