1.0.2 • Published 7 years ago

clickhole-headlines v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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
1.0.2

7 years ago

1.0.1

10 years ago

1.0.0

10 years ago