Dev.to AI 🤖 Ai 👁 0 📖 1 min read

Why Google News RSS base64 Decoding Broke (2024–2026) — And How to Fix It for AI RAG & MCP

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: https://news.google.com/rss/articles/CBMi... In 2024–202

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:

https://news.google.com/rss/articles/CBMi...

In 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.

How Modern Decoding Works (Fbv4je)

  1. Inspect protobuf varint field 4 — legacy items resolve offline; modern AU_yqL items fetch data-n-a-sg and data-n-a-ts attributes from the splash page.
  2. Exchange those signed parameters via POST https://news.google.com/_/DotsSplashUi/data/batchexecute?rpcids=Fbv4je to parse garturlres.

I 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:

Scaling to 50–1,000+ Articles + Clean Markdown + PR Signals (Zero Proxies)

When 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):

{
  "mcpServers": {
    "google-news-real-url": {
      "url": "https://mcp.apify.com?actors=ttyan0111/google-news-ai-article-extractor"
    }
  }
}

Or install the portable SKILL.md workflow:

npx skills add truonggiang0111/b2b-ai-mcp-skills --skill google-news-real-url-rag

Full empirical benchmark & Python snippet: https://truonggiang0111.github.io/mcp/google-news-rss-url-decoder/

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.