skills/skills.volces.com/douyin-downloader

douyin-downloader

SKILL.md

Douyin Video Downloader

Downloads Douyin videos by opening the page in a headless browser, extracting the <video> source URL, and downloading via curl. This bypasses yt-dlp's cookie issues with Douyin's anti-scraping.

Prerequisites

  • agent-browser (npm i -g agent-browser)
  • curl

Usage

python3 scripts/douyin_download.py <URL> [--output-dir DIR] [--filename NAME]

Supported URL Formats

  • https://www.douyin.com/video/<id> — direct video page
  • https://www.douyin.com/search/...?modal_id=<id> — search results with video modal
Installs
14
First Seen
Apr 3, 2026