1.0.1 • Published 5 months ago
google-news-decoder v1.0.1
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
License
MIT