Personal Video Dl
v1.0.0视频下载工具,支持YouTube、Bilibili、抖音等数千个网站。触发词:"下载视频"、"视频下载
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The name, description, SKILL.md, and the included video_downloader.py all describe the same behavior (a wrapper around yt-dlp). There are no unexpected environment variables, credentials, or unrelated binaries requested.
Instruction Scope
SKILL.md instructs the agent/user to run the included Python script and to install yt-dlp. The script performs file I/O (creates output dirs, reads a urls file) and spawns yt-dlp as a subprocess to download content. This stays within the stated scope, but it does execute external commands and performs network access (yt-dlp contacting remote sites).
Install Mechanism
There is no platform install spec in the registry (instruction-only), but the script includes an install routine that runs `python -m pip install -U yt-dlp`. Installing from PyPI is normal here, but installing packages pulls remote code — consider the usual risks of installing third-party packages.
Credentials
The skill requests no environment variables or credentials and the code does not read secrets. The requested capabilities are proportional to a downloader (network access, filesystem write access to the target directory).
Persistence & Privilege
The skill is not marked always:true, does not alter other skill configs, and has no persistent privileged behavior. It runs only when invoked.
Assessment
This skill is a straightforward wrapper around yt-dlp and appears coherent. Before installing/using: (1) be aware the script will run yt-dlp which performs network requests to the video sites; (2) installing yt-dlp uses pip (pulls code from PyPI) — only install packages you trust or run in a sandbox/container; (3) only download content you have the right to download (terms of service / copyright); (4) review any URL list files for untrusted entries before batch downloading; and (5) run the script without elevated privileges to limit risk.Like a lobster shell, security has layers — review code before you run it.
latest
视频下载工具
基于 yt-dlp 的强大视频下载工具,支持数千个视频网站。
功能特性
- ✅ 多平台支持:YouTube、Bilibili、抖音、TikTok、西瓜视频、微博等
- ✅ 智能识别:自动识别视频平台
- ✅ 格式选择:支持最佳质量、仅音频、指定格式
- ✅ 批量下载:支持从文件批量下载
- ✅ 字幕下载:可选下载视频字幕
- ✅ 播放列表:支持下载整个播放列表
触发方式
下载视频 https://www.youtube.com/watch?v=xxxxx
视频下载 "B站链接" --audio-only
帮我下载这个视频:抖音链接
使用方法
命令行使用
# 下载单个视频(最佳质量)
python3 video_downloader.py "https://www.youtube.com/watch?v=xxxxx"
# 仅下载音频(MP3)
python3 video_downloader.py "URL" --audio-only
# 指定下载目录
python3 video_downloader.py "URL" -o ~/Desktop/Videos
# 下载带字幕
python3 video_downloader.py "URL" --subtitle
# 批量下载(从文件)
python3 video_downloader.py -f urls.txt
批量下载文件格式
创建 urls.txt 文件:
# 这是注释
https://www.youtube.com/watch?v=xxxxx
https://www.bilibili.com/video/xxxxx
https://v.douyin.com/xxxxx
参数说明
| 参数 | 说明 | 示例 |
|---|---|---|
url | 视频链接 | "https://..." |
-f, --file | 批量下载文件 | -f urls.txt |
-o, --output | 下载目录 | -o ~/Videos |
-q, --quality | 视频质量 | -q best |
-a, --audio-only | 仅音频 | --audio-only |
-s, --subtitle | 下载字幕 | --subtitle |
-p, --playlist | 下载播放列表 | --playlist |
支持的平台
- 国际: YouTube、TikTok、Instagram、Twitter/X、Facebook、Reddit
- 国内: Bilibili、抖音、西瓜视频、微博
- 其他: 数千个网站(详见 yt-dlp 支持列表)
前置依赖
# 安装 yt-dlp
pip install -U yt-dlp
# 或使用脚本安装
python3 video_downloader.py --install
输出
- 默认目录:
~/Downloads/Videos/ - 文件命名:
视频标题.扩展名 - 音频格式: MP3
- 视频格式: MP4
故障排除
| 问题 | 解决方案 |
|---|---|
| yt-dlp 未安装 | 运行 pip install -U yt-dlp |
| 下载失败 | 检查网络连接,部分网站需要代理 |
| 格式不支持 | 尝试更新 yt-dlp: pip install -U yt-dlp |
| 权限错误 | 检查下载目录写入权限 |
技术说明
- 底层工具: yt-dlp
- Python 版本: 3.7+
- 依赖: yt-dlp
文件结构
skills/video-downloader/
├── SKILL.md # 本说明文件
└── video_downloader.py # 主脚本
Created: 2026-03-08
Comments
Loading comments...
