1.0.1 • Published 5 months ago

google-news-decoder v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Google News Decoder

A Node.js module to decode Google News article URLs.

Installation

npm install google-news-decoder

Usage

const GoogleNewsDecoder = require("google-news-decoder");

(async () => {
  const decoder = new GoogleNewsDecoder();
  const sourceUrl = "https://news.google.com/rss/articles/CBMi0wFBVV...";
  const decoded = await decoder.decodeGoogleNewsUrl(sourceUrl);
  console.log(decoded);
})();

Features

  • Extracts and decodes article links from Google News
  • Works with RSS and standard Google News URLs
  • Supports proxy configuration

Author

Abhimanyu Singh Rathore

License

MIT

1.0.1

5 months ago

1.0.0

5 months ago