jspachong
v1.0.1
Published
js crawler
Downloads
4
Readme
Pachong
Pachong which means a generic term for vertebrates in chinese, you can find here chinese dictionary, and it's something like crawler.
This is a crawler library written in javascript, so you can use this in server side or browser.
Usage
npm install jspachong
Server Side
var Pachong = require('jspachong')
var crawler = new Pachong(requestObject, options)
crawler.queue(requestObject)
.queue(requestObject)
.queue(requestObject)
.run()
.then((res) => {})
.catch((err) => {})
requestObject request library options see request document for more information
options
parallel bool
Run crawlers parallel.
max integer
Max crawlers run each time.
Browser
To dp.
License
MIT