superscraper

scraper extension for superagent

npm install superscraper
1 downloads in the last month

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

npm loves you