Download Douyin (抖音) videos via the TikHub API — no login required. USE THIS SKILL whenever the user: - Shares a Douyin link (v.douyin.com, douyin.com, or an...
Download Douyin videos using the TikHub API. Handles short links, full URLs, and bare video IDs.
Requires a TikHub API token in ~/.openclaw/config.json:
json
{ "tikhub_api_token": "your-token-here" }
Free tokens: https://user.tikhub.io/register
python3 {baseDir}/scripts/douyin_download.pybash
python3 {baseDir}/scripts/douyin_download.py "https://v.douyin.com/xxxxx/"
bash
python3 {baseDir}/scripts/douyin_download.py "https://v.douyin.com/xxxxx/" --download
bash
python3 {baseDir}/scripts/douyin_download.py "https://v.douyin.com/xxxxx/" --download --output-dir /path/to/dir
bash
python3 {baseDir}/scripts/douyin_download.py "7615599455526585067" --download
FormatExampleShort linkhttps://v.douyin.com/iABCxyz/Full URL with modal_idhttps://www.douyin.com/video/7615599455526585067URL query paramhttps://www.douyin.com/jingxuan?modal_id=7615599455526585067Bare modal_id7615599455526585067
--download: prints modal_id + direct video URL--download: downloads to ~/Downloads/douyin/douyin_<modal_id>.mp4 (or custom dir)