douyin-downloader
SKILL.md
Douyin Video Downloader
Downloads Douyin videos by opening the page in a headless browser, extracting the <video> source URL, and downloading via curl. This bypasses yt-dlp's cookie issues with Douyin's anti-scraping.
Prerequisites
agent-browser(npm i -g agent-browser)curl
Usage
python3 scripts/douyin_download.py <URL> [--output-dir DIR] [--filename NAME]
Supported URL Formats
https://www.douyin.com/video/<id>— direct video pagehttps://www.douyin.com/search/...?modal_id=<id>— search results with video modal