Download videos and collect data from Douyin and TikTok
open sourceGPL-3.0-onlyfree
DouK-Downloader (formerly TikTokDownloader) downloads videos, image sets and live streams from Douyin and TikTok, in the highest quality available, from links, whole accounts, collections and mixes, and collects the posts' details, comments, search results and trending lists into CSV, XLSX or SQLite. It runs in a terminal, as a Web API or in Docker, skips files it already has and resumes broken downloads; live streams are recorded with FFmpeg.
Problems it solves
- bulk download TikTok videos from a list of links
- download every video from a Douyin account
- export TikTok or Douyin post stats and comments to a spreadsheet
Features
- download Douyin and TikTok videos, image sets and live streams
- batch download from accounts, collections and links
- collect post, comment, search and trending data to CSV, XLSX or SQLite
- Web API and Docker image
- skips already downloaded files and resumes downloads
Limitations
- It no longer maintains the algorithm for the platforms' encryption parameters: when Douyin or TikTok change them, some features stop working until you supply your own generation code.1
