Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Douyin Downloader

Professional Douyin downloader with:

  • Short link resolution
  • Watermark-free video download (playwm -> play)
  • Audio-only download
  • Cover image download
  • Exponential-backoff retries
  • Chunked streaming download with progress
  • Logging to logs/app.log
  • CLI + optional Flask web app

Requirements

  • Python 3.10+
  • requests
  • Optional web mode: Flask

Install dependencies:

pip install -r requirements.txt

CLI Usage

Run with prompt:

python main.py

Run with arguments:

python main.py "https://v.douyin.com/xxxxx/" --mode video
python main.py "https://v.douyin.com/xxxxx/" --mode audio
python main.py "https://v.douyin.com/xxxxx/" --mode cover

Flask Web App

Local run:

python app.py

Then open http://127.0.0.1:5000.

Railway / Render Deployment

This repo includes:

  • Procfile
  • runtime.txt
  • requirements.txt

Recommended start command:

gunicorn app:app --bind 0.0.0.0:$PORT --workers 2 --timeout 120

About

Working Douyin Video Downloader

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages