技能 google-news-api-skill
📰

google-news-api-skill

安全 🌐 网络访问🔑 环境变量

Extract News Data from Google News via BrowserAct API

Research workflows require fresh news data but manual searching is time-consuming. This skill automates structured news extraction from Google News through BrowserAct API, providing headlines, sources, and publication times in a clean format.

支持: Claude Codex Code(CC)
🥉 75 青铜
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“google-news-api-skill”。 Find news about Tesla from the past week

预期结果:

A list of recent Tesla-related articles including: 'Tesla Announces New Battery Technology' from Electrek (2024-01-15), 'Tesla Stock Rises on Q4 Delivery Numbers' from Reuters (2024-01-14), 'Tesla Expands Supercharger Network in Europe' from TechCrunch (2024-01-13). Each entry includes headline, source, date, and article link.

正在使用“google-news-api-skill”。 Get breaking news about AI startups today

预期结果:

Current AI startup news including: 'Anthropic Raises $2B Series C' from TechCrunch (2024-01-15), 'New AI Coding Tool Launches for Developers' from VentureBeat (2024-01-15). Real-time results from the past few hours with direct article links.

正在使用“google-news-api-skill”。 Monitor Apple news for the past 24 hours

预期结果:

Recent Apple coverage: 'Apple Vision Pro Launch Date Confirmed' from The Verge, 'Apple Reports Record Q1 Revenue' from Bloomberg, 'Apple Announces New MacBook Features' from MacRumors. Each with publication time and source.

安全审计

安全
v1 • 4/28/2026

This skill is a legitimate news data extraction tool that uses BrowserAct API to scrape Google News. Static analysis flagged external command and cryptographic concerns, but all HIGH findings are false positives. The Python script uses standard UTF-8 encoding configuration (not PowerShell), makes legitimate API calls to BrowserAct service, and properly handles credentials via environment variables. The skill follows secure coding practices for API integration.

2
已扫描文件
221
分析行数
6
发现项
1
审计总数
中风险问题 (1)
Documentation Contains Shell Command Examples
SKILL.md contains bash command examples (python -u ./scripts/google_news_api.py). These are legitimate documentation examples showing how to use the Python script. No command injection vulnerability exists.
低风险问题 (3)
Network API Calls to External Service
Script makes HTTP requests to BrowserAct API (api.browseract.com). This is the intended functionality of the skill - legitimate news data extraction via external API.
Environment Variable Access for API Key
Script reads BROWSERACT_API_KEY from environment. This is the recommended secure approach for API credential management.
HTTP Status Code Validation
Script checks for HTTP 401 and validates authorization. Standard API error handling, not reconnaissance.
审计者: claude

质量评分

45
架构
100
可维护性
87
内容
50
社区
94
安全
91
规范符合性

你能构建什么

Track Industry Trends

Monitor developments in specific industries like AI, clean energy, or pharmaceuticals by extracting recent news articles.

Monitor Brand Mentions

Track media coverage of a brand, company, or product over the past 24 hours to assess PR impact.

Research Competitor Activity

Collect news about competitors over a week to stay informed about their latest products and announcements.

试试这些提示

Basic News Search
Find news about {topic} from the past week using the Google News skill.
Time-Restricted News
Get the latest news about {company} from the past 24 hours only.
Competitive Intelligence
Search for news about {competitor} and {competitor2} from the past week. Extract all articles and summarize key themes.
Comprehensive Research
Extract up to {number} news articles about {topic} from the past year. Format as a structured report with sources and dates.

最佳实践

  • Configure the BROWSERACT_API_KEY environment variable before running searches to avoid authentication errors
  • Use specific keywords rather than broad terms to get more relevant and actionable results
  • Set appropriate time ranges: use past 24 hours for monitoring, past week for trends, past year for research

避免

  • Avoid using overly broad search terms like 'technology' which return too many unrelated articles
  • Do not share your API key in public repositories or chat messages
  • Avoid running the skill repeatedly without need as each execution consumes API resources

常见问题

How do I get a BrowserAct API key?
Visit browseract.com and sign up for an account. Navigate to the integrations page to generate your API key.
What parameters can I use to filter news?
You can filter by keywords, time range (past hours, 24 hours, past week, past year), and maximum number of results.
Is there a limit on how many articles I can retrieve?
Yes, the limit parameter controls maximum results. The skill defaults to 30 but you can request more for research purposes.
How fresh is the news data?
Data comes directly from Google News index. There may be a short delay between article publication and appearance in search results.
What happens if the API key is invalid?
The skill will detect invalid authorization and prompt you to check your API key rather than retrying automatically.
Can I search for news from specific sources?
Use keyword filters to focus on specific sources. The skill supports standard Google News search syntax.