Individual skill
cs-video-download
下载用户提供的抖音或其他在线视频链接,统一保存并校验媒体文件。用于“帮我下载视频”、Videdown 下载、视频链接归档;不自动扩展为转写、发布或视频制作。
cs-video-download/SKILL.md
Source commit e63cb26e58e2b307e3ff9a0ad834d3c1b1b65a90
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 8, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 208
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 2,476 bytesSKILL.mdcore · 2,476 bytesagents/openai.yamlasset · 287 bytesscripts/download_media.pyruns · 3,279 bytestests/test_download.pyruns · 2,183 bytes
Read excerpt
# CS 视频下载
接到明确的视频下载请求直接执行,无需再次确认。默认保存到 `~/Downloads/Videdown`;用户指定目录时遵从用户。文件命名为 `标题-平台视频ID.mp4`,重复文件先验证再复用,不覆盖已有文件。
## 获取媒体
1. 用户指定 Videdown 时先通过可用的原生 UI 工具操作 Videdown。解析完成才点击下载,检查真实保存文件,不把解析中或下载按钮当成完成。
2. Videdown 或 yt-dlp 返回抖音 403 / fresh cookies 时,不循环重试。用浏览器控制工具打开原链接,在可播放页面读取 DOM 中 `video.currentSrc`,同时记录标题、原始页面地址和视频 ID。只读取浏览器当前实际加载的媒体地址,不复用旧的临时地址。
3. 使用下方脚本下载读取到的 HTTP(S) 媒体地址。默认 Referer 是原视频页面。`blob:` 地址不能传给 curl,改用浏览器支持的媒体下载接口;若仍无法获取则报告具体阻碍。
4. 若浏览器要求登录,保留页面请用户完成登录;不绕过验证码、安全提示、付费或访问权限。
```bash
python3 <skill-dir>/scripts/download_media.py --media-url '浏览器读取的媒体地址' --source-url '原始视频页面' --title '视频标题' --video-id '平台视频ID'
```