{"slug": "why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag", "title": "Why Google News RSS base64 Decoding Broke (2024–2026) — And How to Fix It for AI RAG & MCP", "summary": "A developer open-sourced a zero-dependency CLI (decode-gnews-url.mjs) and a zero-dependency MCP STDIO server that decode Google News RSS links, after Google shifted new CBMi protobuf payloads from embedding plain URLs in field 4 to opaque AU_yqL tokens, breaking classic base64 slicing. The fix fetches data-n-a-sg and data-n-a-ts attributes from the splash page and POSTs to Google's batchexecute endpoint (rpcids=Fbv4je) to parse garturlres. The project also ships an Apify-hosted batch extractor that outputs clean Markdown, verified publisher URLs and a RUN_SUMMARY record, aimed at RAG pipelines and AI news agents.", "body_md": "If you've built an AI news agent, market monitor, or RAG pipeline using Google News RSS, you've probably watched your scraper silently break on `<link>` tags like:\n\n`https://news.google.com/rss/articles/CBMi...`\n\nIn 2024–2026, Google shifted new `CBMi` protobuf payloads from embedding plain `https://...` URLs in field 4 to embedding opaque `AU_yqL...` tokens. Classic `base64` slices only return garbage or redirect HTML instead of the actual Bloomberg, TechCrunch, or Reuters article.\n\n`Fbv4je`)\n`AU_yqL` items fetch `data-n-a-sg` and `data-n-a-ts` attributes from the splash page.`POST https://news.google.com/_/DotsSplashUi/data/batchexecute?rpcids=Fbv4je` to parse `garturlres`.\nI open-sourced both a **zero-dependency CLI (`decode-gnews-url.mjs`)** and a **zero-dep MCP STDIO server (` npx -y github:truonggiang0111/b2b-market-intel-mcp`)** so Claude Desktop, Cursor, and Claude Code can test single URLs with zero API keys:\n\n`npx` ready):\nWhen running batch RAG digests, you don't want raw HTML bloating your LLM context window. Our 256MB cloud extractor outputs clean Markdown, verified publisher URLs (`url` + `urlDecoded`), compact per-item `agentSummary`, and a single `RUN_SUMMARY` JSON record (runs in `~2.3s–6.5s`, free to test with Apify's built-in `$5/month` credit):\n\n```\n{\n  \"mcpServers\": {\n    \"google-news-real-url\": {\n      \"url\": \"https://mcp.apify.com?actors=ttyan0111/google-news-ai-article-extractor\"\n    }\n  }\n}\n```\n\nOr install the portable `SKILL.md` workflow:\n\n```\nnpx skills add truonggiang0111/b2b-ai-mcp-skills --skill google-news-real-url-rag\n```\n\nFull empirical benchmark & Python snippet: [https://truonggiang0111.github.io/mcp/google-news-rss-url-decoder/](https://truonggiang0111.github.io/mcp/google-news-rss-url-decoder/)", "url": "https://wpnews.pro/news/why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag", "canonical_source": "https://dev.to/truonggiang0111/why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag-mcp-26pi", "published_at": "2026-11-27 15:10:12+00:00", "updated_at": "2026-11-27 15:16:12.120134+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["Google News", "Apify", "Claude Desktop", "Cursor", "Claude Code", "Bloomberg", "TechCrunch", "Reuters"], "also_reported_by": [], "takeaway": "Google News RSS CBMi links now carry opaque AU_yqL tokens instead of plain URLs, so decoders must fetch data-n-a-sg and data-n-a-ts from the splash page and POST to batchexecute with rpcids=Fbv4je to resolve the real publisher URL.", "recommendation": {"advice": "When ingesting Google News RSS into a RAG pipeline, resolve AU_yqL links via the batchexecute splash-page flow and store the verified publisher URL rather than raw HTML to keep LLM context clean.", "playbook": "rag-retrieval", "playbook_url": "https://wpnews.pro/playbooks/rag-retrieval"}, "alternates": {"html": "https://wpnews.pro/news/why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag", "markdown": "https://wpnews.pro/news/why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag.md", "text": "https://wpnews.pro/news/why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag.txt", "jsonld": "https://wpnews.pro/news/why-google-news-rss-base64-decoding-broke-2024-2026-and-how-to-fix-it-for-ai-rag.jsonld"}}