关于 Google News (via Apify)
Google News Scraper 是运行在 Apify 上的新闻抓取 Actor,面向关注主题、公司或关键词动态的研究人员和 AI Agent。它返回标题、来源、发布日期、摘要和文章链接,并支持时间筛选及定时仅获取新结果。
主要功能
- 01标题、来源、日期、摘要和文章链接
- 02按过去一小时至一年筛选
- 03按相关性或日期排序
- 04支持任意国家和语言
- 05定时运行时仅返回新文章
适用场景
- 01追踪公司或主题的新闻报道
- 02定期获取关键词的新文章
MCP 相关
可通过 Apify 托管的 MCP 服务向 AI Agent 提供新闻搜索工具,也支持本地 MCP 配置。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://mcp.apify.com/?tools=automationnation/google-news-scraperclaude mcp add --transport http retracn-google-news https://mcp.apify.com/?tools=automationnation/google-news-scraper{"mcpServers":{"retracn-google-news":{"type":"http","url":"https://mcp.apify.com/?tools=automationnation/google-news-scraper"}}}在 Cursor 中打开{"servers":{"retracn-google-news":{"type":"http","url":"https://mcp.apify.com/?tools=automationnation/google-news-scraper"}}}在 VS Code 中打开{"mcpServers":{"retracn-google-news":{"type":"http","url":"https://mcp.apify.com/?tools=automationnation/google-news-scraper"}}}{"mcpServers":{"retracn-google-news":{"serverUrl":"https://mcp.apify.com/?tools=automationnation/google-news-scraper"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
https://mcp.apify.com/?tools=automationnation/google-news-scraper需要授权工具
详细介绍
Google News Scraper 与 API:文章、来源和日期
Google News Scraper 是一个 Apify Actor,可返回任何主题、公司或关键词的 Google News 搜索结果:标题、来源、发布日期、摘要和文章 URL,并支持时间筛选(过去一小时到过去一年)、按日期排序以及任意国家和语言;每次搜索最多可获取 300 篇文章,价格为每 1,000 篇文章 $1。
**价格:**每 1,000 篇文章 $1(Gold 及以上套餐为 $0.80) · 立即运行: https://apify.com/automationnation/google-news-scraper · 指南: https://retracn.github.io/automationnation-actors/google-news-scraper/
快速了解
- 每篇文章对应一行:标题、摘要、来源、发布时间(ISO)和发布方文章 URL。
- 时间筛选:过去一小时、一天、一周、一个月或一年;可按相关性或日期排序。
- 支持任意国家和语言,每次搜索最多可获取 300 篇文章。
- 监控:启用 Only new results 后,定时运行只会返回之前运行未获取到的文章(可在代码中使用的 Google Alerts 信息流)。指南:https://retracn.github.io/automationnation-actors/guides/google-alerts-api/
- 价格:每 1,000 篇文章 $1;每月 $5 的免费额度可覆盖 5,000 篇文章。
示例输入
{
"queries": [
"apple earnings"
],
"time": "week",
"maxResultsPerQuery": 30
}
通过代码运行
REST API
curl -X POST "https://api.apify.com/v2/acts/automationnation~google-news-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries": ["apple earnings"], "time": "week", "maxResultsPerQuery": 30}'
Python — 请参阅 examples/python_example.py
# pip install apify-client
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("automationnation/google-news-scraper").call(run_input={
"queries": [
"apple earnings"
],
"time": "week",
"maxResultsPerQuery": 30
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item.get("title"), item.get("source"), item.get("publishedAt"), item.get("url"))
JavaScript — 请参阅 examples/node_example.mjs
// npm install apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automationnation/google-news-scraper').call({
"queries": [
"apple earnings"
],
"time": "week",
"maxResultsPerQuery": 30
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.title, item.source, item.publishedAt, item.url);
与 AI Agent 搭配使用(MCP)
托管 MCP 服务 URL(适用于 Claude、ChatGPT、Cursor 及其他支持远程 MCP 的客户端):
https://mcp.apify.com?tools=automationnation/google-news-scraper
Claude Desktop / Cursor 的本地配置 — mcp/claude_desktop_config.json:
{
"mcpServers": {
"google-news-scraper": {
"command": "npx",
"args": [
"-y",
"@apify/actors-mcp-server",
"--tools",
"automationnation/google-news-scraper"
],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}
常见问题
有官方的 Google News API 吗? 没有。Google 多年前就已停用 Google News API。Apify 上的 Google News Scraper 通过 Apify 的 API、客户端和 MCP,以数据形式返回 Google News 搜索结果。
能获取完整的文章正文吗? 你可以获取标题、摘要、来源、日期和 URL;如需完整正文,可将这些 URL 交给内容爬虫处理。
有 Google Alerts API 吗? 没有。Google Alerts 只能通过电子邮件或 RSS 接收。启用 Only new results 后定时运行此 Actor,即可将与你的查询相关的每篇新文章作为 JSON、Slack、Sheets 或 webhook 接收。
更多 AutomationNation 工具
- AI 可见度跟踪器 — 每检查一个答案收费 $0.05(Gold 套餐为 $0.04),另加每份可选报告 $0.50 · GitHub 示例
- Google Jobs 抓取工具 — 每 1,000 个职位收费 $2(付费套餐为 $1.50),另加每次搜索 $0.03 · GitHub 示例
- YouTube 字幕稿抓取工具 — 每 1,000 份字幕稿收费 $1.50(Gold 及以上套餐为 $1.20)· GitHub 示例
- Google Shopping 抓取工具 — 每 1,000 件商品收费 $1(Gold 及以上套餐为 $0.80)· GitHub 示例
- Google Flights 抓取工具 — 每 1,000 个航班收费 $0.20(Gold 及以上套餐为 $0.16)· GitHub 示例
- Google Hotels 抓取工具 — 每 1,000 家酒店收费 $1(Gold 及以上套餐为 $0.80)· GitHub 示例
- Google Ads Transparency 抓取工具 — 每 1,000 条广告收费 $1(Gold 及以上套餐为 $0.80)· GitHub 示例
- Google 图片抓取工具 — 每 1,000 张图片收费 $0.25(Gold 及以上套餐为 $0.20)· GitHub 示例
- Google 自定义搜索 API 替代方案 — 每 1,000 次搜索(每次最多 10 条结果)收费 $5(Gold 及以上套餐为 $4)· GitHub 示例
- Google 视频抓取工具 — 每 1,000 个视频收费 $1(Gold 及以上套餐为 $0.80)· GitHub 示例
- Google Trends 抓取工具 — 每 1,000 份关键词报告收费 $1(付费套餐为 $0.27–$0.90)· 每 1,000 次趋势搜索收费 $0.50 · GitHub 示例
- App Store 评论抓取工具 — 每 1,000 条评论收费 $0.08(付费套餐为 $0.05–$0.07)· GitHub 示例
- Google Play 评论抓取工具 — 每 1,000 条评论收费 $0.08(付费套餐为 $0.05–$0.07)· GitHub 示例
- AEO 与 GEO 跟踪器 — Google AI Overview 引用检查器 — 每个关键词收费 $0.04(Gold 套餐为 $0.032);自 2026 年 11 月 17 日起,每次运行另收 $2;截至 2026 年 10 月 16 日,每个关键词收费 $0.01 · GitHub 示例
- Google Maps 潜在客户抓取工具 — 每条潜在客户收费 $0.03(Gold 套餐为 $0.024);使用无网站或未认领筛选条件找到的商家,每家收费 $0.08 · GitHub 示例
- 英国 Google Maps 潜在客户抓取工具 — 每条潜在客户收费 $0.05(Gold 套餐为 $0.04)· GitHub 示例
- App Store 与 Google Play 评论抓取工具 + AI — 每份应用报告收费 $0.05(Gold 套餐为 $0.04)· GitHub 示例
- 英国 Companies House 潜在客户 — 申报信号与 AI 外联 — 每条潜在客户收费 $0.008
- 联系人瀑布式补全 — 电子邮件与董事 — 每家公司收费 $0.015
- 所有 Actors 和指南 · AI 可见度跟踪器对比 · Google Jobs 抓取工具对比 · Google Trends 抓取工具对比 · App Store 评论抓取工具对比 · Google Play 评论抓取工具对比 · YouTube 字幕稿抓取工具对比 · Google Flights 抓取工具对比 · Google Hotels 抓取工具对比 · Google Ads Transparency 抓取工具对比 · Google Shopping 抓取工具对比 · Google News 抓取工具对比
此存储库包含使用示例。抓取器本身运行在 Apify 平台 上;你需要一个免费的 Apify 账户和 API 令牌。示例采用 MIT 许可证。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。