Google Videos (via Apify)

io.github.retracnv1.0.0更新于 Oct 5, 2026

Google video results for AI agents: YouTube, TikTok and more, with channel and duration.

已验证Streamable HTTP可网页运行Web Search & ScrapingMedia & Design

概览

AI 生成的概览

让助手搜索 Google 视频结果,覆盖 YouTube、TikTok、Vimeo 等平台,返回标题、频道、时长和链接。

功能
将 Apify 的 Google Videos Scraper actor 封装为远程 MCP 工具。输入搜索词后,每条视频返回一行数据,包括标题、链接、平台、频道、时长(秒)、上传日期、摘要、YouTube ID 和缩略图。支持时长与时间筛选,可指定任意国家和语言,每次搜索最多 300 条视频。
适用场景
适合助手需要跨多个视频平台获取结构化视频搜索结果,用于调研、内容发现或竞品跟踪,而不是只查单一网站。这是付费抓取服务,更适合偶尔或批量查询,而非高频免费使用。
运行要求
需要可访问网络的远程 MCP 端点 mcp.apify.com。必须提供 Apify API 令牌,通过 Authorization 请求头以 Bearer 形式发送;免费 Apify 账号即可获取。按返回的视频数量计费。
安装前请注意
Authorization 请求头携带 Apify API 令牌,属于可计费凭据,应妥善保密并限制权限范围。运行按公布的每条视频价格收费,查询量不受限制时可能产生实际费用。查询内容和结果由第三方 Apify 托管平台处理。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Google Videos (via Apify),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "google-videos": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=automationnation/google-videos-scraper"
    }
  }
}

README

Google Videos Scraper & API: YouTube and video results

[Run on Apify]

Google Videos Scraper is an Apify Actor that returns Google's video results for any search, across YouTube, TikTok, Vimeo, Facebook and news sites: title, URL, platform, channel, duration, publish date, snippet and thumbnail, with duration and time filters, at $1 per 1,000 videos.

Price: $1 per 1,000 videos ($0.80 on Gold and above) · Run it: https://apify.com/automationnation/google-videos-scraper · Guide: https://retracn.github.io/automationnation-actors/google-videos-scraper/

Quick facts

  • One row per video: title, URL, platform, channel, duration (and seconds), upload date, snippet, YouTube ID and thumbnail.
  • Filters: duration (under 4 minutes, 4–20 minutes, over 20) and time.
  • Any country and language, up to 300 videos per search.
  • Price: $1 per 1,000 videos.

Example input

json
{  "queries": [    "how to make sourdough bread"  ],  "maxResultsPerQuery": 30}

Run it from code

REST API

bash
curl -X POST "https://api.apify.com/v2/acts/automationnation~google-videos-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"queries": ["how to make sourdough bread"], "maxResultsPerQuery": 30}'

Python — see examples/python_example.py

python
# pip install apify-clientfrom apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("automationnation/google-videos-scraper").call(run_input={  "queries": [    "how to make sourdough bread"  ],  "maxResultsPerQuery": 30})for item in client.dataset(run["defaultDatasetId"]).iterate_items():    print(item.get("title"), item.get("channel"), item.get("duration"), item.get("url"))

JavaScript — see examples/node_example.mjs

js
// npm install apify-clientimport { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('automationnation/google-videos-scraper').call({  "queries": [    "how to make sourdough bread"  ],  "maxResultsPerQuery": 30});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) console.log(item.title, item.channel, item.duration, item.url);

Use it with AI agents (MCP)

Hosted MCP server URL (Claude, ChatGPT, Cursor and other clients with remote MCP support):

https://mcp.apify.com?tools=automationnation/google-videos-scraper

Local config for Claude Desktop / Cursor — mcp/claude_desktop_config.json:

json
{  "mcpServers": {    "google-videos-scraper": {      "command": "npx",      "args": [        "-y",        "@apify/actors-mcp-server",        "--tools",        "automationnation/google-videos-scraper"      ],      "env": {        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"      }    }  }}

FAQ

Is it only YouTube? No. Google's Videos tab covers YouTube, TikTok, Facebook, Vimeo, news sites and more.

Can I get transcripts? Yes, send the YouTube URLs to YouTube Transcript Scraper.

More from AutomationNation


This repository holds usage examples. The scraper itself runs on the Apify platform; you need a free Apify account and API token. Examples are MIT licensed.

来源:README.md,提交 206c775

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.0.0最新Oct 5, 2026