universal-media-downloader SKILL.md skillA
universal-media-downloader from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/universal-media-downloader@v0.5.2Pins v0.5.2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/universal-media-downloader/SKILL.md- Versions recorded
- 5
- Latest version
- v0.5.2, committed Sep 29, 2026
- First version recorded
- Aug 3, 2026
- Size
- 7,900 bytes
- Repository stars
- 775
- License
- none declared
输入各类视频网站/播客平台链接后,自动下载对应媒体文件并交付给用户。优先使用 yt-dlp 覆盖抖音(Douyin)、B站(Bilibili)、YouTube 等常见视频网站,也可用于可直接暴露音频地址的播客平台(如小宇宙单集链接)。当遇到 403/登录/年龄或地区限制时,支持使用 cookies.txt 重试;对于可能存在 DRM/加密或条款限制的平台(例如部分 Spotify 内容),应提示用户仅下载其有权保存的内容,并在不可下载时建议改用官方离线/导出渠道或提供原始 RSS/直链。抖音视频在 yt-dlp 撞签名墙("Fresh cookies needed")时自动三级 fallback:无登录直连 aweme.snssdk.com/v1/play → 本机浏览器游客 cookie(无需登录抖音)重跑 yt-dlp,全程无感;抖音图文笔记暂不支持自动下载,需手动处理。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Universal Media Downloader(通用视频/播客下载) ## 适用范围 **优先覆盖(通常可直接用)** - **抖音视频**:`douyin.com`、`v.douyin.com` 等视频链接 - **抖音图文笔记**:暂不支持自动下载(反爬限制),需手动截图 - **B站**:`bilibili.com`、`b23.tv` 等 - **YouTube**:`youtube.com`、`youtu.be` - 以及其它 **yt-dlp 支持的网站**(数量很多) **播客平台** - **小宇宙(单集/节目页)**:多数情况下可直接下载音频(yt-dlp 通常能用) - 其它播客平台:如果页面可解析出音频直链,通常也能下载 > 合规提示:仅用于下载你**有权保存**的内容(例如你自己上传/拥有版权/获得授权/平台允许离线的内容)。遇到 DRM/加密或平台限制时,不要尝试绕过。 ## 快速开始 ### 1)下载视频(默认) - 命令: - `python scripts/download_media.py "<URL>"` - 默认保存目录: - 用户主目录下的 `~/Downloads/`(不再自包含,方便日常访问;见 DEC-004) - 可通过 `--out-dir` 参数自定义输出路径 ### 2)只下载音频(适合播客 / 只想要 MP3) - 命令: - `python scripts/download_media.py --audio-only --audio-format mp3 "<URL>"` ### 3)遇到 403 / 需要登录 / 风控拦截:用 cookies 重试 **更省事(推荐)——直接读浏览器 cookies:** - 用户已在浏览器(Chrome/Firefox/Safari/Edge)登录过该站点的话,直接指定浏览器,免手动导出: - `python scripts/download_media.py --cookies-from-browser chrome "<URL>"` - 适用:B站 412、YouTube 年龄限制、抖音带登录态等 **或手动导出 cookies.txt(Netscape 格式):** - 让用户导出 `cookies.txt`,然后重试: - `python scripts/download_media.py --cookies "/path/to/cookies.txt" "<URL>"` …
Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/universal-media-downloader@sha256:6f6c43335e57debfThe line at the top of this page pins the label v0.5.2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hvpuolu2mhw2f7e2)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 3, 2026 and Sep 29, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.5.2 latest | 2026-09-29 | 02e2f90 | 7,900 B | A | view · diff |
| v0.5.1 | 2026-08-30 | b758642 | 7,900 B | A | view · diff |
| v0.5.0 | 2026-08-30 | 1db3fa7 | 7,900 B | A | view · diff |
| v0.2.0 | 2026-08-05 | d9769d4 | 7,199 B | A | view · diff |
| v0.2.0 | 2026-08-03 | 76122a2 | 7,163 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7900 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hvpuolu2mhw2f7e2 GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/universal-media-downloader GET https://markdownregistry.com/api/v1/blob/6f6c43335e57debf8821aff57dd7324255b2162c6502d9342be3fada63a00414
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.