tiktok-crawling
由 romneyda 提供
Browser & Automation简介
Use for TikTok crawling, content retrieval, and analysis.
描述
该技能的功能
Downloads TikTok videos, audio, and metadata using yt-dlp. Supports single videos, full profiles, hashtag pages, keyword searches, and sound pages. Metadata exports to JSON, JSONL, or CSV for further analysis.
Handles bulk downloads, incremental archiving, metadata export, and content filtering in one CLI tool without requiring a TikTok API key or developer account.
何时使用
- Archive all videos from a creator's profile locally
- Track new posts from multiple accounts on a daily cron schedule
- Export engagement metrics to CSV for cross-creator comparison
- Filter a hashtag page by view count or date range
- Dry-run metadata collection without downloading video files
示例工作流
User asks: scrape @examplecreator videos from the last 7 days with over 50k views and export metadata
- 1
Run yt-dlp with --simulate and --dump-json on the profile URL
- 2
Apply --dateafter with a 7-day relative date filter
- 3
Apply --match-filters 'view_count >= 50000'
- 4
Redirect output to handle_videos.jsonl
- 5
Parse results with jq to extract title, view count, and URL
JSONL file with filtered video metadata ready for analysis in pandas or jq
前置要求
- yt-dlp installed (brew install yt-dlp or pip install yt-dlp)
- ffmpeg installed for video merging and post-processing
- TikTok account with browser cookies for rate-limited or restricted content
安装
clawhub install romneyda/tiktok-crawling运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。