/scraper

web scraper in node.js based on cheerio.js and request.js

Primary LanguageJavaScript

#scraper A minimalistic web scraper for different applications based on cheerio.js built on top of request.js and inspired by http-agent.js

Prerequisites

Node.js (npm included)

Request

  • install request
npm install request

Cheerio

  • install cheerio
npm install cheerio

Usage

in /lib/scraper.js update the path variable to your sraping needs

var path = "http://website.com/pagetoscrape"

Run the scraper

node scraper.js

(C) 2014 Amine Karmouche MIT LICENSE