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 — любой кодинг-агент, которым пользуетесь.