← 返回 Skills 市场
maxdong-max

抖音视频下载

作者 max · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
51
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install douyin-download-china
功能描述
抖音视频下载工具。当用户要求下载抖音(豆包)短视频时使用此 skill。支持短链接(如 v.douyin.com/xxx)和完整视频页面链接,自动解析并下载到本地。下载视频为 720p 带水印版本。
使用说明 (SKILL.md)

douyin-download

Download Douyin (TikTok China) videos to local disk without needing yt-dlp, cookies, or login.

Workflow

Execute all steps in order.

Step 1 — Resolve Short URL

If the URL is a short link (v.douyin.com/xxx), resolve it first:

curl -sI "https://v.douyin.com/\x3CID>/" | grep -i location

Extract the full URL from the location: header. The numeric ID in /video/\x3CID>/ is the video_id_str (e.g. 7634389140783615232).

Step 2 — Fetch Mobile Page & Extract video_id

Fetch the mobile Douyin page and extract the internal video_id:

curl -sL "https://www.iesdouyin.com/share/video/\x3Cvideo_id_str>/" \
  -H "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15" \
  -H "Referer: https://www.douyin.com/" \
  -o /tmp/dy_page.html

Extract video_id from the HTML:

grep -o 'video_id[^"]*"[^"]*"' /tmp/dy_page.html

This returns something like video_id=v0d00fg10000d7pc7dvog65j2bpvg940. The part after = is the internal_video_id.

Step 3 — Download Video

Construct the snssdk play URL and download:

curl -L "https://aweme.snssdk.com/aweme/v1/playwm/?video_id=\x3Cinternal_video_id>&ratio=720p&line=0" \
  -H "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15" \
  -H "Referer: https://www.douyin.com/" \
  -o ~/Downloads/\x3Coutput_filename>.mp4
  • playwm = 720p with Douyin watermark
  • To get no-watermark version: replace playwm with play and append &watermark=0 (may need additional signature handling)
  • Save to ~/Downloads/ using the video title as filename

Step 4 — Verify

Check file size and format:

ls -lh ~/Downloads/\x3Coutput_filename>.mp4 && file ~/Downloads/\x3Coutput_filename>.mp4

Key Notes

  • No login required — the mobile endpoint (iesdouyin.com) works without authentication
  • Download speed — typically reaches 10–15 MB/s on stable connections; a 100MB video finishes in ~10 seconds
  • If download fails with 403/redirect: retry with a fresh curl -L (follow redirects) and verify the video_id is correct
  • Watermarkplaywm always includes Douyin watermark; getting no-watermark requires the play endpoint with signed parameters (complex, not covered here)
  • Supported URLs: v.douyin.com/xxx short links and www.iesdouyin.com/share/video/\x3CID>/ direct links

Reference

See references/douyin_api.md for detailed endpoint documentation and troubleshooting.

如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install douyin-download-china
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /douyin-download-china 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Douyin video download tool. - Supports both short links (v.douyin.com) and full video page links. - Automatically resolves URLs, extracts video IDs, and downloads 720p videos with watermark. - No login or cookies required; works directly from mobile endpoints. - Includes verification steps and troubleshooting notes.
元数据
Slug douyin-download-china
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

抖音视频下载 是什么?

抖音视频下载工具。当用户要求下载抖音(豆包)短视频时使用此 skill。支持短链接(如 v.douyin.com/xxx)和完整视频页面链接,自动解析并下载到本地。下载视频为 720p 带水印版本。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 51 次。

如何安装 抖音视频下载?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install douyin-download-china」即可一键安装,无需额外配置。

抖音视频下载 是免费的吗?

是的,抖音视频下载 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

抖音视频下载 支持哪些平台?

抖音视频下载 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 抖音视频下载?

由 max(@maxdong-max)开发并维护,当前版本 v1.0.0。

💬 留言讨论