clickhole-headlines
v1.0.2
Published
get the latest 200 headlines from clickhole.com
Downloads
6
Readme
clickhole-headlines
Get up to 200 of the most recent headlines from clickhole.com.
Usage
var clickhole = require('clickhole-headlines');
clickhole(function(err, headlines){
console.log(headlines);
// an array of rediculous headlines
});
clickhole(cb, maxPages)
Takes two args, first is a required callback function, the second is the maximum number of pages to scrape.
Tests
Tests run using mocha
$ npm test