Notorious Preying Mantis
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

news-text

2.2.0 • Public • Published

news-text

Retrieve the article text from several news sites using either the article module or Diffbot (if a Diffbot key is specified).

var simple =  new require('news-text').Simple();
 
simple.reutersUsNews(function (err, articles) {
  articles.forEach(function (article) {
    console.log(article);
  });
});

Google News is searchable:

var googleNews = new require('news-text').GoogleNews();

googleNews.searchArticles('taylor swift', function (err, articles) {
  articles.forEach(function (article) {
    console.log(article);
  });
});

install

npm i news-text

Downloadsweekly downloads

0

version

2.2.0

license

BSD-2-Clause

repository

githubgithub

last publish

collaborators

  • avatar