A free CLI and AI agent skill for batch downloading Douyin videos and photos, recording live streams and querying Douyin's hot board
open sourceMITfree
Douyin Downloader is a free, open-source command-line tool for downloading videos, photo sets, collections and original audio from Douyin (TikTok's Chinese counterpart). It downloads single posts or whole creator profiles in batches, skips files it already has (tracked in SQLite), retries failures and shows progress; it can also record live streams to MP4 with FFmpeg, transcribe videos locally with Whisper, export the hot search board and keyword search results as JSONL, and run an optional REST API server. It signs in with cookies saved from a browser window you sign in to yourself, and falls back to a browser for some profiles. An agent skill for Claude Code, Codex, Cursor and OpenCode lets an agent query the hot board, search posts and look up creators through the same douyin-dl command, without downloading media.
Problems it solves
- download all the videos from a Douyin creator's profile
- archive the Douyin videos and photo sets I like to my own disk
- record a Douyin live stream to an MP4 file
Features
- batch downloads of Douyin profiles, collections and single posts, with deduplication
- live stream recording to MP4 and local Whisper transcription
- hot board and keyword search export as JSONL, and an optional REST API
- an agent skill for Claude Code, Codex, Cursor and OpenCode
Limitations
- It needs your own Douyin sign-in cookies, which expire and must be fetched again, and some profile downloads need you to solve Douyin's slider check in a browser window.1
Alternatives
The same job
These do what Douyin Downloader does.
- yt-dlp A feature-rich command-line audio/video downloader
- DouK-Downloader Download videos and collect data from Douyin and TikTok
