A Python package to decode Google News URLs (https://news.google.com/articles/...) to their original source URLs. Current version 0.1.7, released Jan 2025. Active development with frequent updates.
pip install googlenewsdecoderVerified import paths — ran on the pinned version, not inferred.
Decode a Google News article URL to its original source. Returns dict with 'decoded_url' key.
Replace calls to decoderv1/2/3/4 with new_decoderv1.
Always check the 'status' key in the returned dict before using 'decoded_url'.
Use proxy support via the 'proxy' parameter (added in 0.1.7) or add your own delays.