superscraper

scraper extension for superagent

superscraper

npm install superscraper

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

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

MIT/X11