Douyin Download

v1.0.0

Download Douyin (Chinese TikTok) videos to local MP4 files. Use when the user shares a Douyin video URL or asks to download or save a Douyin/TikTok video. Wo...

0· 100·0 current·0 all-time
byMuso Z. Fan@musofan

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for musofan/musofan-douyin-download.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Douyin Download" (musofan/musofan-douyin-download) from ClawHub.
Skill page: https://clawhub.ai/musofan/musofan-douyin-download
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install musofan-douyin-download

ClawHub CLI

Package manager switcher

npx clawhub@latest install musofan-douyin-download
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, SKILL.md, and the included Python script all align: they load browser cookies, drive Playwright to intercept a douyinvod.com MP4 URL, and download the video. No unrelated credentials, binaries, or services are requested.
Instruction Scope
Instructions are scoped to loading an exported cookies file, running Playwright, and downloading the intercepted MP4. This is consistent with the purpose. Note: the skill requires the user to export potentially sensitive cookies and to run a local HTTP proxy (127.0.0.1:7897) — both are explicitly documented and are necessary for the technique described.
Install Mechanism
No install spec is provided (instruction-only plus a script). Dependencies (playwright, requests) are documented in the README; nothing is downloaded or executed automatically by the skill itself.
Credentials
No environment variables or external credentials are requested. The script requires an exported browser cookie file (sensitive but justified). It also hardcodes a proxy (http://127.0.0.1:7897); the SKILL.md explains this, but users should confirm the proxy is local and trustworthy before running.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and only writes downloaded MP4 files to disk. The default paths are author-specific but can be overridden via command-line arguments.
Assessment
This skill appears to do what it says, but it requires you to export and supply your browser cookies (sensitive). Only use cookies from a browser/profile you control and do not share them. Confirm the HTTP proxy (127.0.0.1:7897) is truly local and not forwarding traffic to a remote host — a malicious or misconfigured proxy could capture your cookies or video requests. Install Playwright and its browsers from official sources before running. Be aware that downloading videos may violate the service's terms of use or copyright. If you prefer, run the script in a disposable environment and pass explicit cookie and output paths instead of relying on defaults (the defaults use the author's Windows paths).

Like a lobster shell, security has layers — review code before you run it.

latestvk970nnpx1rc90swkj8nrbn491184s650
100downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

Douyin Download | 抖音视频下载

Save any Douyin video to MP4 — no watermarks, no limits.

特性 | Features

  • 🎬 高清下载 — 1080p MP4,无水印 / No watermark, full 1080p
  • 🤖 全自动 — 只需发链接给我,剩下的我来 / Just send the link, I'll handle the rest
  • 🔒 隐私安全 — Cookie 来自你自己的浏览器,不经过第三方 / Your cookies stay local, no third-party involved
  • 即下即用 — 拦截真实视频直链,直接下载 / Intercepts real video stream, downloads directly

使用前提 | Prerequisites

项目说明
Chrome 扩展安装 Get cookies.txt (可选,如果无法下载再装)
导出 Cookie访问 douyin.com → 点扩展 → Export → 保存到 sessions/cookies/cookies.txt
代理Clash Verge 或任意 HTTP 代理,运行在 127.0.0.1:7897
Python 包playwright, requests

注意:Cookie 只需要导出一次,除非过期。文件保存在你自己的电脑上,不会上传。

使用方法 | Usage

发给我任意抖音链接即可:

https://www.douyin.com/video/7627894054088461611

我会自动下载并保存到 sessions/video-download/ 目录。

或者用命令行指定路径:

python skills/douyin-download/scripts/download.py <video_url> [output_path] [cookie_file]

工作原理 | How It Works

1. Playwright 启动无头浏览器 → 加载你的 cookies
2. 访问抖音页面 → Douyin 以为是真实浏览器
3. 拦截 douyinvod.com 视频响应 → 拿到真实 MP4 直链
4. 直接下载 MP4 文件 → 不经过任何第三方服务器

为什么不用 yt-dlp? 因为抖音有额外的浏览器指纹验证,导出的 cookie 缺少签名信息,yt-dlp 会报 "Fresh cookies needed"。Playwright 用真实浏览器环境解决这个限制。

输出 | Output

下载完成后,你会看到:

  • 文件路径:sessions/video-download/video.mp4
  • 文件大小、时长、分辨率
  • 下载进度条

注意 | Notes

  • 视频直链有过期签名,请尽快下载 / Video URLs expire quickly, download promptly
  • 如果下载失败,尝试重新导出一次新鲜 cookies / If it fails, re-export fresh cookies from douyin.com
  • 支持抖音和 TikTok 链接 / Supports both Douyin and TikTok URLs

Comments

Loading comments...