Skip to content

TJkrusinski/clickhole-headlines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Get the most recent 200 headlines from clickhole.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published