UNPKG

node-web-crawler

Version:

Node Web Crawler is a web spider written with Nodejs. It gives you the full power of jQuery on the server to parse a big number of pages as they are downloaded, asynchronously. Scraping should be simple and fun!

10 lines (8 loc) 230 B
'use strict'; var util = require('util'); var crawler = require('./node-web-crawler'); module.exports = function debug() { if (crawler.debug) { console.error('CRAWLER %s', util.format.apply(util, arguments)) } };