news-text

3.0.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);
  });
});

/news-text/

    Package Sidebar

    Install

    npm i news-text

    Weekly Downloads

    31

    Version

    3.0.0

    License

    BSD-2-Clause

    Unpacked Size

    12.3 kB

    Total Files

    14

    Last publish

    Collaborators

    • beaugunderson