node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

superscraper

superscraper

installation

npm install superscraper

introduction

superscraper extends superagent prototype with a .scrape(callback) method, preloading htmlparser2 and cheerio-soupselect for easy and fast scraping.

usage

var superscraper = require('superscraper')
 
superscraper
  .get('http://some.url/foo')
  .scrape(res, $) {
    // $ is ready to accept our selectors 
    $('.title').forEach(function (node) {
      // do something 
    })
  })

licence

MIT/X11