Scaper

Main Scraper class

new Scaper()
Example
// npm install easy_web_crawler
const Scaper = require('easy_web_crawler')
var scraper  =new Scraper();
Instance Members
startWithURLs(listOfURLs)
allowIfMatches(nonAsyncFunction)
saveProgressInFile(filePath)
enableAutoCrawler(flag, enableAutoCrawler)
waitBetweenPageLoad(delayInMilliSeconds)
callbackOnFinish(asyncFunction)
callbackOnPageLoad(asyncFunction)
start()

Page

Pupetter page class. Enhanced with supporting function detailed below.

new Page()
Instance Members
download_image(image_download_url, where_to_full_file_path)
saveResult(text)
write_text_to_file(content, filename)
add_url_to_queue(url)