clickhole-headlines

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i clickhole-headlines

Weekly Downloads

8

Version

1.0.2

License

MIT

Last publish

Collaborators

  • tjkrusinski