{"id":21394,"library":"googlenewsdecoder","title":"GoogleNewsDecoder","description":"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.","status":"active","version":"0.1.7","language":"python","source_language":"en","source_url":"https://github.com/SSujitX/google-news-url-decoder","tags":["google-news","url-decoder","news","scraping","decoder"],"install":[{"cmd":"pip install googlenewsdecoder","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Used for HTTP requests to Google News","package":"requests","optional":false},{"reason":"Used for HTML parsing","package":"beautifulsoup4","optional":false}],"imports":[{"wrong":"from googlenewsdecoder import GoogleNewsDecoder","symbol":"GoogleDecoder","correct":"from googlenewsdecoder import GoogleDecoder"}],"quickstart":{"code":"from googlenewsdecoder import new_decoderv1\n\n# Example Google News URL (decode to original source)\ndecoded = new_decoderv1('https://news.google.com/articles/CAIiEP0wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZz4wZiIsInNvdXJjZSI6IiJ9')\nprint(decoded.get('decoded_url'))","lang":"python","description":"Decode a Google News article URL to its original source. Returns dict with 'decoded_url' key."},"warnings":[{"fix":"Replace calls to decoderv1/2/3/4 with new_decoderv1.","message":"As of version 0.1.5, old decoder methods (decoderv1, decoderv2, decoderv3, decoderv4) are deprecated and no longer functional. Use new_decoderv1 instead.","severity":"breaking","affected_versions":">=0.1.5"},{"fix":"Always check the 'status' key in the returned dict before using 'decoded_url'.","message":"Google News URL structure changes frequently; decoding may fail silently. The function may return {'status': 'error', 'message': '...'} instead of raising an exception.","severity":"gotcha","affected_versions":"all"},{"fix":"Use proxy support via the 'proxy' parameter (added in 0.1.7) or add your own delays.","message":"Rate limiting (HTTP 429) is common. From version 0.1.6, a time delay between requests was added, but heavy usage may still be blocked.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'/articles/...)':12 '0.1.7':20 '2025':23 'activ':24 'current':18 'decod':6,34,37 'develop':25 'frequent':27 'googl':7,30 'google-new':29 'googlenewsdecod':1 'jan':22 'news':8,31,35 'news.google.com':11 'news.google.com/articles/...)':10 'origin':15 'packag':4 'python':3 'releas':21 'scrape':36 'sourc':16 'updat':28 'url':9,17,33 'url-decod':32 'version':19","created_at":"2026-04-27T16:59:40.526055+00:00","updated_at":"2026-04-27T16:59:40.526055+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.1.7","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/SSujitX/google-news-url-decoder","docs":"https://github.com/SSujitX/google-news-url-decoder#readme","changelog":null,"pypi":"https://pypi.org/project/googlenewsdecoder/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}