extract-google-news-data
This skill provides a one-stop news collection service using BrowserAct's Google News API template. It extracts structured news results directly from Google…
от rondoflow★ 37 звёзд на GitHub
Установить extract-google-news-data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Google News Automation Skill
📖 Introduction
This skill provides a one-stop news collection service using BrowserAct's Google News API template. It extracts structured news results directly from Google News, including headlines, sources, publication times, and article links, providing clean and ready-to-use data without manual scraping.
✨ Features
- No Hallucinations: Uses predefined workflows to ensure stable and accurate data extraction, avoiding AI-generated hallucinations.
- No CAPTCHA Issues: Built-in mechanisms to bypass reCAPTCHA or other verification challenges automatically.
- No IP Restrictions: Overcomes regional IP limitations and geofencing for stable global access.
- Fast Execution: Executes tasks significantly faster than pure AI-driven browser automation.
- Cost-Effective: Reduces data acquisition costs compared to token-heavy AI solutions.
🔑 API Key Guidance
Before running, check for the BROWSERACT_API_KEY environment variable. If it is not set, do not proceed with other actions. Instead, request and wait for the user to provide the key.
Agent must inform the user:
"Since the BrowserAct API Key is not configured, please go to the BrowserAct Console to get your Key and provide it to me here."
🛠️ Input Parameters Details
The Agent should configure the following parameters based on user needs when calling the script:
Search_Keywords
- Type:
string - Description: The keywords to search on Google News (e.g., company name, industry terms, competitor names).
- Example:
Generative AI,Tesla,SpaceX
- Type:
Publish_date
- Type:
string - Description: Filters news based on publication time.
- Options:
any time: No time restriction.past hours: Within the last few hours (best for breaking news).past 24 hours: Within the last 24 hours (recommended for daily monitoring).past week: Within the last week (short-term trend analysis).past year: Within the last year (long-term research).
- Default:
past week
- Type:
Datelimit
- Type:
number - Description: Maximum number of news items to extract in a single task.
- Default:
30 - Recommendation: Use 10-30 for real-time monitoring; use larger values for deep research.
- Type:
🚀 How to Call (Recommended)
The Agent should execute the following command to get results:
# Example call
python -u ./.cursor/skills/google-news-api-skill/scripts/google_news_api.py "search keywords" "time range" limit
⏳ Progress Monitoring
Since this task involves automated browser operations, it may take several minutes. The script will continuously output timestamped status logs (e.g., [14:30:05] Task Status: running).
Agent Note:
- Stay focused on the terminal output while waiting for the script.
- As long as new status logs are being printed, the task is running normally. Do not assume it is hung or unresponsive.
- Only consider retrying if the status remains unchanged for a long time or the script stops without returning results.
📊 Output Data Specification
Upon success, the script prints results parsed from the API response. Fields include:
headline: Title of the news article.source: Publisher or news outlet.news_link: Resolved destination URL of the article.published_time: Timestamp displayed on Google News.author: Name of the author (if available).
⚠️ Error Handling & Retry Mechanism
If an error occurs (e.g., network issues or task failure), follow this logic:
Check Output:
- If output contains
"Invalid authorization", the API Key is invalid. Do not retry. Guide the user to provide a correct API Key. - If output does not contain
"Invalid authorization"but the task fails (e.g., output starts withError:or result is empty), the Agent should automatically retry once.
- If output contains
Retry Limit:
- Automatic retry is limited to one attempt. If it fails again, stop and report the error message 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.
- Individual 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.
- **Med
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл extract-google-news-data?
This skill provides a one-stop news collection service using BrowserAct's Google News API template. It extracts structured news results directly from Google News, including headlines, sources, publication times, and article links, providing clean and ready-to-use data without ma…
Как установить скилл extract-google-news-data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл extract-google-news-data запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…