← 返回 Skills 市场
318
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install douyin-downloader-latest
功能描述
抖音无水印视频下载器,支持分享链接解析、批量下载和元数据保存
使用说明 (SKILL.md)
🎵 抖音下载器 (douyin-downloader)
下载抖音视频(无水印),支持分享链接解析和批量下载。
功能
- 单链接解析 - 解析抖音分享链接,获取无水印视频地址
- 批量下载 - 支持多个链接同时下载
- 自动命名 - 根据视频信息自动生成文件名
- 元数据保存 - 可选保存视频描述、作者信息等
使用示例
下载这个抖音视频:https://v.douyin.com/xxxxx
解析这些链接:
- https://v.douyin.com/xxx1
- https://v.douyin.com/xxx2
配置
在 TOOLS.md 中添加:
### 抖音下载器
- 默认保存目录:~/Videos/douyin
- 是否保存元数据:true
依赖
- Node.js 18+
- ffmpeg(可选,用于视频处理)
注意事项
- 仅支持公开视频
- 请遵守抖音用户协议,仅用于个人学习
- 不要用于商业用途或批量爬取
安全使用建议
What to consider before installing:
- This skill will download and save files to your machine (default ~/Videos/douyin) and may create a debug screenshot (debug-screenshot.png) and JSON metadata files next to downloaded videos.
- It requires Node.js and Playwright; installing Playwright downloads browser binaries (large, network activity). The package.json declares these dependencies but the platform won't auto-install them — you'll need to run npm install and npx playwright install chromium as described.
- Playwright runs a real browser and executes site JS when extracting video URLs; that is necessary for dynamic pages but means remote script can run in the headless browser context (normal for scraping, not an exfiltration mechanism in this code). If you are concerned about privacy or security, run the skill in a sandboxed environment or inspect network activity during first runs.
- The skill contacts Douyin/iesdouyin APIs and pages only (no hidden or third‑party exfil endpoints found). Still obey Douyin/TikTok terms and copyright law — avoid bulk scraping or commercial use.
If you want additional assurance: review package.json and node modules before installing, run npm install in an isolated environment, and verify that no unexpected outbound connections occur during test runs.
功能分析
Type: OpenClaw Skill
Name: douyin-downloader-latest
Version: 1.0.0
The skill bundle is a functional Douyin video downloader that uses Playwright for browser-based scraping and Axios for file downloads. It includes logic for parsing various Douyin URL formats, handling redirects, and saving videos with metadata to a local directory (~/Videos/douyin). The code in src/browser-extract.js and src/downloader.js is transparent, includes basic filename sanitization to prevent path traversal, and lacks any indicators of data exfiltration, persistence, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description match the code: parser, optional Playwright extraction, and downloader implement link parsing, batch downloads, metadata saving and automatic naming. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md instructs exactly the actions implemented in code (npm install, optionally install Playwright browsers, configure save dir). The runtime instructions do not ask the agent to read unrelated files or exfiltrate secrets. The code writes screenshots/metadata and video files locally, which aligns with the described features.
Install Mechanism
There is no platform install spec (skill is instruction-only), but source includes a package.json that depends on playwright and other npm packages — installing them requires running npm and downloading Playwright browser binaries. This is expected for the stated functionality but is a heavier install step (downloads sizable browser binaries) and must be done manually or by the operator.
Credentials
The skill requests no environment variables or credentials. It uses process.env.HOME/USERPROFILE only to determine a default save directory — this is proportionate to the purpose.
Persistence & Privilege
always is false, no elevated privileges requested, and the skill does not modify other skills or system-wide agent configuration. It writes files only to a user-designated directory and creates a debug screenshot in the working directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install douyin-downloader-latest - 安装完成后,直接呼叫该 Skill 的名称或使用
/douyin-downloader-latest触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
## 🎵 最新抖音无水印视频下载器 (douyin-downloader) 使用方法【亲测有效】 - 支持链接解析、浏览器提取和批量下载
---
### 📋 技能信息
| 项目 | 详情 |
|------|------|
| **名称** | douyin-downloader |
| **显示名** | 🎵 抖音下载器 |
| **版本** | 1.0.0 |
| **位置** | `C:\Users\laimeng\.openclaw\workspace\skills\douyin-downloader` |
---
### 🎯 触发词
以下任意关键词都会触发此技能:
- `下载抖音`
- `解析抖音`
- `保存抖音`
- `douyin download`
- `无水印`
---
### 💬 使用示例
#### 1️⃣ 下载单个视频
```
下载这个抖音视频:https://v.douyin.com/xxxxx
```
或
```
下载 https://www.douyin.com/video/7477287476999015732
```
**输出示例:**
```
✅ 下载成功!
📹 视频:
👤 作者:未知作者
📁 保存:C:\Users\***\Videos\douyin\***.mp4
💾 大小:30.2 MB
```
---
#### 2️⃣ 批量下载多个视频
```
下载这些抖音视频:
- https://v.douyin.com/xxx1
- https://v.douyin.com/xxx2
- https://www.douyin.com/video/123456789
```
**输出示例:**
```
📥 批量下载完成!
✅ 成功:3
❌ 失败:0
📁 目录:C:\Users\***\Videos\douyin
```
---
#### 3️⃣ 解析链接(不下载)
```
解析这个抖音链接:https://v.douyin.com/xxxxx
```
**输出示例:**
```
🔗 解析结果:
📹 视频 ID: 7477287476999015732
📝 标题:抖音最初的样子
👤 作者:舞蹈达人
🎬 时长:15 秒
```
---
### 📁 支持的视频链接格式
| 格式 | 示例 |
|------|------|
| 标准链接 | `https://www.douyin.com/video/123456789` |
| 笔记链接 | `https://www.douyin.com/note/123456789` |
| 短链接 | `https://v.douyin.com/abc123` |
| 移动端 | `https://m.douyin.com/abc123` |
| 搜索页 | `https://www.douyin.com/search/xxx?modal_id=123456789` |
---
### ⚙️ 配置选项
在 `TOOLS.md` 中添加配置:
```markdown
### 抖音下载器
- 默认保存目录:~/Videos/douyin
- 保存元数据:true
- 并发下载数:3
```
| 配置项 | 默认值 | 说明 |
|--------|--------|------|
| `saveDir` | `~/Videos/douyin` | 视频保存目录 |
| `saveMetadata` | `true` | 是否保存 JSON 元数据文件 |
| `concurrency` | `3` | 批量下载时的并发数 |
---
### 📦 技术依赖
| 依赖 | 用途 | 状态 |
|------|------|------|
| `axios` | HTTP 请求 | ✅ 已安装 |
| `cheerio` | HTML 解析 | ✅ 已安装 |
| `playwright` | 无头浏览器(获取真实视频地址) | ✅ 已安装 |
---
### 🔧 工作原理
```
1. 用户发送抖音链接
↓
2. 解析链接提取视频 ID
↓
3. 启动 Playwright 无头浏览器
↓
4. 访问抖音页面,等待视频加载
↓
5. 拦截网络请求,获取真实视频 URL
↓
6. 下载视频到本地
↓
7. 保存元数据(可选)
↓
8. 返回下载结果
```
---
### ⚠️ 注意事项
| 限制 | 说明 |
|------|------|
| **仅公开视频** | 私密/付费视频无法下载 |
| **频率限制** | 避免短时间内大量请求(会触发风控) |
| **个人使用** | 请遵守抖音用户协议,仅用于个人学习 |
| **版权** | 不要用于商业用途或重新分发 |
---
### 🐛 常见问题
**Q: 下载失败怎么办?**
> A: 检查链接是否正确,确保视频是公开的。部分视频可能有访问限制。
**Q: 为什么需要 Playwright?**
> A: 抖音使用动态加载,视频地址不在初始 HTML 中,需要用浏览器模拟真实用户访问。
**Q: 可以下载 TikTok 吗?**
> A: 当前版本仅支持抖音(中国版)。TikTok 需要单独的解析逻辑。
**Q: 视频地址会过期吗?**
> A: 是的,获取的视频 URL 有有时效性,建议获取后尽快下载。
---
### 🚀 快速测试
```bash
cd C:\Users\laimeng\.openclaw\workspace\skills\douyin-downloader
node test-download.js
```
---
**这就是抖音下载器的完整使用方法!** 有任何问题随时问我。🎵
元数据
常见问题
🎵 抖音下载器 是什么?
抖音无水印视频下载器,支持分享链接解析、批量下载和元数据保存. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 318 次。
如何安装 🎵 抖音下载器?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install douyin-downloader-latest」即可一键安装,无需额外配置。
🎵 抖音下载器 是免费的吗?
是的,🎵 抖音下载器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
🎵 抖音下载器 支持哪些平台?
🎵 抖音下载器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 🎵 抖音下载器?
由 chall2015(@chall2015)开发并维护,当前版本 v1.0.0。
推荐 Skills