node-simple-crawler
Simple web-crawler for node.js
Installation
Using npm:
$ npm install node-simple-crawler --save
Usage
var Crawler = ; var crawler = concurrent: 5 logs: true request: // config for 'request' package headers: 'user-agent': 'node-crawler' // If defined 'decodeTo' and not 'decodeFrom' then charset of 'response.body' will be detected automatically decodeTo: 'utf8' decodeFrom: '' // e.g. 'win-1251' { if err throw err; // all requests are done console; console; }; var { if err console; throw err; // request done var that = this; console; console; // response object ;}; crawler;crawler;