Grab Douyin - Video Downloader — Grab Douyin - Video 下载er
v.下载 Douyin (抖音) videos via the TikHub API — no 记录in required. USE THIS 技能 whenever the user: - 分享s a Douyin link (v.douyin.com, douyin.com, or any URL contAIning "douyin") - Pastes a modal_id or aweme_id (16–19 digit number) - Says "下载视频", "帮我下载", "save this video", "下载 this douyin" - 分享s a short-link like "复制链接" text contAIning v.douyin.com - Asks to save, grab, or fetch a Douyin 命令行工具p Always use this 技能 when you 检测 a Douyin URL or a numeric video ID — even if the user doesn't explicitly say "下载". Just seeing a v.douyin.com link is enough. DO NOT USE FOR: - YouTube, Bilibili, Instagram, or other 平台s (use their respective 工具s) - Douyin live 流s (not supported by the API) - Douyin image carousels / 图集 (video-only)
运行时依赖
安装命令
点击复制本土化适配说明
Grab Douyin - Video Downloader 安装说明: 安装命令:npx clawhub@latest install grab-douyin 该技能用于抖音相关操作,可能需要相应的平台账号或API密钥
技能文档
Douyin 下载er
下载 Douyin videos using the TikHub API. Handles short links, full URLs, and bare video IDs.
Configuration
Requires a TikHub API 令牌 in ~/.OpenClaw/config.json:
{ "tikhub_API_令牌": "your-令牌-here" }
Free 令牌s: https://user.tikhub.io/register
工作流 检测 输入 — identify a Douyin link or modal_id from the user's message 运行 the script — call python3 {baseDir}/scripts/douyin_下载.py Show 结果 — 报告 the modal_id and either the video URL or the saved file path Commands 获取 video 信息 (no 下载) python3 {baseDir}/scripts/douyin_下载.py "https://v.douyin.com/xxxxx/"
下载 to default location (~/下载s/douyin/) python3 {baseDir}/scripts/douyin_下载.py "https://v.douyin.com/xxxxx/" --下载
下载 to a custom directory python3 {baseDir}/scripts/douyin_下载.py "https://v.douyin.com/xxxxx/" --下载 --输出-dir /path/to/dir
Use a bare modal_id python3 {baseDir}/scripts/douyin_下载.py "7615599455526585067" --下载
Accepted 输入 格式化s 格式化 Example Short link https://v.douyin.com/iABCxyz/ Full URL with modal_id https://www.douyin.com/video/7615599455526585067 URL 查询 param https://www.douyin.com/jingxuan?modal_id=7615599455526585067 Bare modal_id 7615599455526585067 输出 Without --下载: prints modal_id + direct video URL With --下载: 下载s to ~/下载s/douyin/douyin_.mp4 (or custom dir)