superscraper

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i superscraper

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • stagas