npm install scrapebp
This module can be forked or depended upon for future scraping projects.
Caller only need to specify
opts and implement the custom scraper and scrape callback function.
See bin/scrapebp for details.
var ScrapeBp = ;// DemoScraper and scrapeCallback are defined// opts for ScrapeBp is preparedvar scrapebp = ;scrapebp;scrapebp;scrapebp;scrapebp;
scrapebp uses visionmedia/debug.
DEBUG=scrapebp bin/scrapebp www.yahoo.com
write tests that covers:
-zand check response header and decoded body)