Douyin Downloader
简体中文 · English
Douyin Downloader is a free, open-source tool for downloading Douyin (TikTok China) videos, photos, and media data. It provides both a powerful CLI version and an AI Agent Skill version to fit diverse personal and development workflows:
- 🚀 CLI Version (Free Batch Downloader): Dedicated to free batch downloading of Douyin videos and photos. Supports creator profile downloads, single/batch post downloads, collections/mixes, favorites/likes, and music. Built-in incremental downloads (skips previously saved files), date range filtering, automatic failure retries, history deduplication, local Whisper subtitle transcription, and bounded live recording.
- 🤖 AI Agent Skill Version (Agent-Driven): Built for AI agents including Claude Code, Codex, Cursor, and OpenCode. Enables agents to query Douyin's real-time hot board, search posts by keyword, look up creator statistics, record live streams, and transcribe local media files directly through natural language conversations.
Sponsors

Douyin page (light)
|

Douyin page (dark)
|

Tasks page (light)
|
Become a sponsor
Edition Overview
| Feature / Scenario | 🚀 CLI Version | 🤖 AI Agent Skill Version |
|---|
| Target Use Case | Developers / Batch Archive / Automation | AI Agent Conversations / Agentic Workflows |
| Douyin Video/Photo Batch Download | ✅ Free Supported (Profile/Mix/Single) | ❌ Metadata query only (use CLI for download) |
| Incremental Download | ✅ Supported (Skip existing files by date/history) | - |
| Real-time Hot Search Board | ✅ douyin-dl agent hot | ✅ Natural language: "Show Douyin's hot board" |
| Keyword Post Search | ✅ douyin-dl agent search | ✅ Natural language: "Search camping and summarize" |
| Creator Profile Lookup | ✅ douyin-dl agent user | ✅ Natural language: "Look up creator profile" |
| Live Stream Recording | ✅ Supported (Segmented to MP4 via FFmpeg) | ✅ Natural language: "Record live room 10 mins" |
| Local Subtitle Transcription | ✅ Supported (Local Whisper model) | ✅ Natural language: "Transcribe local video" |
| License & Cost | Completely Free / Open Source (MIT) | Completely Free / Open Source (MIT) |
Using the CLI Version (Free Batch Downloader)
The CLI version is the core download engine of this project, offering automated batch downloads, configurable YAML rules, and rich options.
1. Installation
Requires Python 3.10+ on Windows, macOS, or Linux.
Recommended: Install via uv or pipx
uv tool install douyin-dl-cli # or: pipx install douyin-dl-cli
Or clone from GitHub:
git clone https://github.com/jiji262/douyin-downloader.git
cd douyin-downloader
python -m pip install -r requirements.txt
python -m pip install playwright
python -m playwright install chromium
2. Configure and Sign In