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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.