0.0.1 • Published 13 years ago

superscraper v0.0.1

Weekly downloads
6
License
-
Repository
github
Last release
13 years ago

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