
Google News Automation
FreeEffortlessly extract structured news data from Google News.
Free · Opens the source repo
What Google News Automation does
The Google News Automation skill enables users to efficiently gather structured news data from Google News using the BrowserAct API. This skill is particularly useful for developers and designers who need to monitor industry trends, track public relations, or gather competitor updates. By providing a straightforward interface, users can input specific search keywords and set time filters to retrieve relevant news articles quickly.
This skill stands out by eliminating common issues associated with web scraping, such as reCAPTCHA challenges and IP restrictions. It executes tasks faster than traditional AI-driven browser automation methods, making it a cost-effective solution for data acquisition. Users can extract vital information including headlines, sources, publication times, and article links, all formatted for easy consumption.
To utilize the skill, users must set their BrowserAct API Key and can then run the provided Python script with their desired parameters. The skill supports flexible input options, allowing for tailored searches based on specific keywords and publication dates. Results are displayed in a clear format, making it easy to analyze news data for various applications, from market research to daily news summaries.
Overall, the Google News Automation skill is an essential tool for anyone needing reliable and structured news data extraction without the hassle of manual searches or complex scraping techniques.
When to use it
Use this skill when you need to track news on specific topics, monitor industry trends, or gather competitor insights.
When not to use it
This skill may not be suitable for users looking for unstructured data or those needing extensive customization beyond the provided parameters.
What you can build with it
Industry Trend Tracking
Monitor the latest developments in specific fields by extracting news articles related to targeted keywords.
PR Monitoring
Keep track of media exposure for a brand or company over recent days to assess public sentiment.
Competitor Intelligence
Gather insights on competitors' activities and announcements by retrieving relevant news reports.
How to install Google News Automation
View source1. Install with the skills CLI
npx skills add browser-act/skills/google-news-api-skill --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by browser-actGoogle News Automation Skill
📖 Introduction
This skill provides a one-stop news collection service using BrowserAct's Google News API template. It directly extracts structured news results from Google News, including headlines, sources, publication times, and article links. Simply input search keywords and time filters to get clean, usable news data.
✨ Features
- No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
- No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
- No IP Restrictions: No need to handle regional IP restrictions or geofencing.
- Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
- Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.
🔑 API Key Setup
Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it.
Agent must inform the user:
"Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."
🛠️ Input Parameters
Agent should flexibly configure the following parameters based on user needs:
-
Search_Keywords (Search Keywords)
- Type:
string - Description: The content to search on Google News. Can be company names, industry terms, competitor names, etc.
- Example:
AI Startup,Tesla,SpaceX
- Type:
-
Publish_date (Time Range)
- Type:
string - Description: Filter news by publication time.
- Options:
any time: No restrictionpast hours: Past few hours (breaking news)past 24 hours: Past 24 hours (daily monitoring)past week: Past week (short-term trends)past year: Past year (long-term research)
- Default:
past week
- Type:
-
Datelimit (Max Items)
- Type:
number - Description: Maximum number of news items to extract per task.
- Default:
30 - Suggestion: Use 10-30 for real-time monitoring; use larger values for deep research.
- Type:
🚀 Usage
Agent should use the following independent script to achieve "one-line command result":
# Example
python -u ./scripts/google_news_api.py "Search Keywords" "Publish Date" Quantity
⏳ Execution Monitoring
Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running).
Agent Instructions:
- While waiting for the script result, keep monitoring the terminal output.
- As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
- Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.
📊 Data Output
After successful execution, the script parses and prints results directly from the API response. Results include:
headline: News titlesource: Publisher/Sourcenews_link: Article URLpublished_time: Publication timeauthor: Author (if available)
⚠️ Error Handling & Retry
If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:
-
Check Output Content:
- If the output contains
"Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key. - If the output does not contain
"Invalid authorization"but the task failed (e.g., output starts withError:or returns empty results), the Agent should automatically try to re-execute the script once.
- If the output contains
-
Retry Limit:
- Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.
🌟 Typical Use Cases
- Industry Trend Tracking: Find the latest developments in fields like "Low-altitude economy" or "Generative AI".
- PR Monitoring: Monitor media exposure of a specific brand or company over the past 24 hours.
- Competitor Intelligence: Collect information on new products or marketing activities from competitors over the past week.
- Market Research: Get popular reports on specific keywords across different time dimensions.
- Figure Tracking: Retrieve the latest news reports on industry leaders or public figures.
- Daily News Summary: Automatically extract and summarize daily news in specific domains.
- Global Breaking News: Get real-time updates on major global events.
- Structured Data Extraction: Extract structured information like headlines, sources, and links for analysis.
- Media Exposure Analysis: Evaluate the propagation heat of a project or event in mainstream news media.
- Long-term Research: Retrieve all in-depth reports on a specific technical topic from the past year.
Frequently asked questions about Google News Automation
Similar skills
Eyeball
Analyze documents with visual proof.
Account Research
Efficiently gather insights on companies using Common Room data.
Last 30 Days Research
Analyze recent community and social trends in 30 days.
Last 30 Days
Research trending discussions across platforms in the last month.
NotebookLM Research Assistant
Query Google NotebookLM for precise, citation-backed answers.
Customer Research
Streamline multi-source customer inquiries with confidence scoring.
