About this project

DouK-Downloader (formerly TikTokDownloader) is a tool designed for downloading works and collecting data from the Douyin and TikTok platforms. The project is developed in Python 3.12+ and supports Docker deployment. Core features include: downloading Douyin/TikTok videos, photo sets, live photos, and highest-quality video files; batch downloading works published, liked, favorited, and saved by accounts, as well as collection works; collecting detailed work data, comment data, search data, trending list data, and account data; obtaining Douyin/TikTok live streaming URLs and calling ffmpeg to download live streams; supporting multi-account batch downloads, incremental downloads, breakpoint resumption, automatic skipping of already downloaded files, multithreaded downloads, and file integrity handling. Data can be persisted in CSV, XLSX, and SQLite formats. The program supports filtering works by publish time, custom rule filtering, folder-based archiving, setting file size limits, using proxies for data collection, remote access via local area network, and listening to clipboard links for downloads. Operating modes include terminal interactive mode, Web API interface mode (access /docs or /redoc for auto-generated documentation), and Web UI interactive mode (under code refactoring, not yet re-enabled). Users can download precompiled executables from Releases, install dependencies and run the source code via pip/uv, or deploy via Docker image. The project provides a GitHub Actions guide for automatically building executables. Notes: Some features in the current version are non-functional, and the project plans a refactoring in version 6.0. The encryption parameter algorithm has expired and is no longer maintained; some features may not work properly, and users need to provide their own encryption parameter generation code. Cookies affect video download resolution and must be re-entered into the configuration file after expiration. The program includes an intelligent delay request mechanism and does not support paid content downloads.