← Back to Skills Marketplace
抖音搜索爬虫
by
terrycarter1985
· GitHub ↗
· v1.1.0
· MIT-0
72
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install douyin-search-scraper
Description
爬取抖音视频和文案数据,支持关键词搜索、热榜获取。Agent 可用自然语言触发搜索,skill 会自动映射到对应命令。
README (SKILL.md)
抖音爆款爬虫 Skill
自然语言触发(Agent 用法)
当用户用自然语言请求抖音相关操作时,按以下规则映射:
| 用户意图 | 示例 | 执行命令 |
|---|---|---|
| 搜索视频/内容 | "搜索一下海鲜视频"、"找找小龙虾的视频"、"帮我搜抖音上的美食" | python scripts/scraper.py search --keyword "海鲜" --limit 10 |
| 看热榜 | "看看抖音热榜"、"抖音有什么热门" | python scripts/scraper.py hot --limit 20 |
| 分类热榜 | "美食热榜"、"看看抖音热门音乐" | python scripts/scraper.py hot --category "美食" --limit 20 |
| 搜索并保存 | "搜海鲜视频保存到文件" | python scripts/scraper.py search --keyword "海鲜" --limit 10 --output seafood.json |
关键词提取规则:
- 从用户自然语言中提取核心搜索词,去掉"视频"、"内容"等冗余词
- "搜索一下海鲜视频" → keyword="海鲜"
- "找找海鲜售卖相关的" → keyword="海鲜售卖"
- "帮我搜抖音上做小龙虾的" → keyword="小龙虾"
命令行用法
# 搜索
python scripts/scraper.py search --keyword "海鲜" --limit 10
# 热榜
python scripts/scraper.py hot --limit 20
# 搜索并保存
python scripts/scraper.py search --keyword "海鲜" --limit 10 --output result.json
python scripts/scraper.py search --keyword "海鲜" --limit 10 --output result.csv --format csv
输出格式
命令输出 JSON 数组到 stdout,每条记录:
{
"title": "视频标题",
"description": "视频描述",
"author": "作者",
"play_count": 100000,
"like_count": 5000,
"comment_count": 200,
"share_count": 100,
"url": "https://www.douyin.com/video/xxx",
"tags": ["海鲜", "热门"],
"publish_time": "2026-05-20"
}
依赖
- Python 3.10+
- playwright (
pip install playwright) - Chromium 浏览器 (
playwright install chromium)
注意事项
- 遵守抖音平台规则,避免频繁请求
- 默认请求间隔 2 秒
- 仅供学习研究使用
Usage Guidance
Do not rely on this as a complete install review until metadata.json and the artifact directory can be inspected successfully.
Capability Assessment
Purpose & Capability
Artifact inspection was not possible due to a local sandbox execution failure, so no evidence-backed purpose or capability risk could be established.
Instruction Scope
No SKILL.md content was available for review, so instruction scope could not be assessed beyond the absence of artifact evidence in the prompt.
Install Mechanism
metadata.json and artifact files could not be read, so install behavior could not be evaluated from artifact evidence.
Credentials
No artifact-backed evidence was available to assess requested environment access or proportionality.
Persistence & Privilege
No artifact-backed persistence, privilege, credential, or background behavior evidence was available.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install douyin-search-scraper - After installation, invoke the skill by name or use
/douyin-search-scraper - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
支持自然语言搜索触发;移动端UA绕过验证码;真实数据提取替代mock数据
Metadata
Frequently Asked Questions
What is 抖音搜索爬虫?
爬取抖音视频和文案数据,支持关键词搜索、热榜获取。Agent 可用自然语言触发搜索,skill 会自动映射到对应命令。 It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.
How do I install 抖音搜索爬虫?
Run "/install douyin-search-scraper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 抖音搜索爬虫 free?
Yes, 抖音搜索爬虫 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 抖音搜索爬虫 support?
抖音搜索爬虫 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 抖音搜索爬虫?
It is built and maintained by terrycarter1985 (@terrycarter1985); the current version is v1.1.0.
More Skills