/install grab-douyin
Douyin Downloader
Download Douyin videos using the TikHub API. Handles short links, full URLs, and bare video IDs.
Configuration
Requires a TikHub API token in ~/.openclaw/config.json:
{ "tikhub_api_token": "your-token-here" }
Free tokens: https://user.tikhub.io/register
Workflow
- Detect input — identify a Douyin link or modal_id from the user's message
- Run the script — call
python3 {baseDir}/scripts/douyin_download.py - Show result — report the modal_id and either the video URL or the saved file path
Commands
Get video info (no download)
python3 {baseDir}/scripts/douyin_download.py "https://v.douyin.com/xxxxx/"
Download to default location (~/Downloads/douyin/)
python3 {baseDir}/scripts/douyin_download.py "https://v.douyin.com/xxxxx/" --download
Download to a custom directory
python3 {baseDir}/scripts/douyin_download.py "https://v.douyin.com/xxxxx/" --download --output-dir /path/to/dir
Use a bare modal_id
python3 {baseDir}/scripts/douyin_download.py "7615599455526585067" --download
Accepted Input Formats
| Format | Example |
|---|---|
| Short link | https://v.douyin.com/iABCxyz/ |
| Full URL with modal_id | https://www.douyin.com/video/7615599455526585067 |
| URL query param | https://www.douyin.com/jingxuan?modal_id=7615599455526585067 |
| Bare modal_id | 7615599455526585067 |
Output
- Without
--download: prints modal_id + direct video URL - With
--download: downloads to~/Downloads/douyin/douyin_\x3Cmodal_id>.mp4(or custom dir)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install grab-douyin - After installation, invoke the skill by name or use
/grab-douyin - Provide required inputs per the skill's parameter spec and get structured output
What is Grab Douyin - Video Downloader?
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... It is an AI Agent Skill for Claude Code / OpenClaw, with 148 downloads so far.
How do I install Grab Douyin - Video Downloader?
Run "/install grab-douyin" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Grab Douyin - Video Downloader free?
Yes, Grab Douyin - Video Downloader is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Grab Douyin - Video Downloader support?
Grab Douyin - Video Downloader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Grab Douyin - Video Downloader?
It is built and maintained by mfang0126 (@mfang0126); the current version is v1.0.0.