Overview

Google News RSS feeds provide articles via redirect links that complicate scraping and archiving. This workflow cuts through the noise by fetching the RSS feed, extracting hidden tokens from article pages, and calling Google's batch API to recover original, direct article URLs—eliminating redirects and saving you from redundant parsing.

The Impact

  • Cut Redirect Delays. Access original article URLs directly without intermediate redirects.
  • Slash Parsing Workload. Automate signature extraction and link resolution to avoid repeated manual steps.
  • Batch Process Efficiently. Limit the number of news items fetched and decoded as per your needs.
  • Ensure Reliable Targets. Get stable URLs for scraping, archiving, or monitoring without guesswork.

Who This Is For

  • News Aggregators restoring real article URLs to scrape full content and summaries uniformly.
  • Archivists & Researchers batch-collecting authentic links for backup and permanent storage.
  • Media Monitors converting RSS items into target URLs for detailed content analysis and indexing.
  • Data Engineers automating link extraction workflows to feed downstream pipelines seamlessly.

How It Works

1
  1. Fetch and Convert RSS Feed
  2. Retrieve Google News RSS XML and convert it to JSON for structured processing.
2
  1. Extract Link and GUID
  2. Loop over news items to read each RSS entry’s redirect link and its GUID identifier.
3
  1. Parse Hidden Signature & Timestamp
  2. Fetch the intermediate article page and extract hidden signature and timestamp tokens from HTML.
4
  1. Resolve Direct Article URL
  2. Use the extracted tokens with GUID to call Google’s batch API and retrieve the original article URL.
5
  1. Aggregate Results
  2. Append each resolved original URL into an array and output this collection after processing completes.

What You'll Need

Before using this template, make sure you have:

  • Access to Google News RSS feeds (no special credentials needed).
  • Internet connectivity to fetch RSS feeds, article pages, and call Google's batch interface.
  • Basic setup to run HTTP requests and execute Python code within the workflow environment.

How to Use

  1. Step 1. Set NewsLimit Parameter
  2. Define how many news items to process from the RSS feed, default is 3 for quick tests or increase for batch jobs.

  3. Step 2. Trigger Workflow Start
  4. Initiate the workflow to fetch and convert the RSS feed into a workable JSON structure.

  5. Step 3. Process Each News Item
  6. The workflow loops through each news entry, extracting links, fetching pages, parsing tokens, and resolving original URLs.

  7. Step 4. Collect Original URLs
  8. Each resolved direct URL is appended into a result array for consolidated output.

  9. Step 5. Verify Output
  10. Check the output array named NewsOriginalUrl to ensure all original article links have been successfully restored.

FAQs

How does this workflow get the original article URLs from Google News RSS?
It fetches the RSS feed, extracts each article’s redirect link and GUID, then fetches the article page to parse hidden signature and timestamp tokens. Using these, it calls Google’s batch API to retrieve the direct article URL.
What is the purpose of the signature and timestamp in this process?
They are hidden tokens embedded in the article page’s HTML used by Google’s batch API to verify and resolve the real article URL behind the redirect link.
Can I control how many news items are processed?
Yes, by setting the NewsLimit parameter you specify how many items to fetch and process from the RSS feed, helping you balance speed and volume.
What output does this workflow provide?
It outputs a string array named NewsOriginalUrl containing all the resolved original article URLs, ready for scraping, archiving, or indexing.
Was This Page Helpful?

More Workflows for Inspiration

📝
Prompt Coach
Transform vague AI questions into clear frameworks with ready-to-use templates and coaching guidance.
Learn more >
💬
Prompt Doctor
Automatically diagnose and clarify user questions to improve AI communication efficiency and quality.
Learn more >
🔍
Automated Drama Indexer
Automate short drama searches and log time, title, and links directly into Google Sheets.
Learn more >