douyin-downloader
Skill3 starsChanged 3 months agoMITView on GitHub
下载抖音(Douyin/TikTok中国版)无水印原视频 — 从分享链接直接提取原画质(最高 4K)视频直链,无需登录、无需cookies、无需第三方API。当用户提到"抖音视频下载"、"抖音链接"、"抖音去水印"、"douyin download"、"保存抖音视频"等任何与抖音视频下载相关需求时,务必使用本技能,即使只是问"能不能下载某个抖音视频"。
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- wuxutian2-bot/douyin-downloadertheir own version, first seen Nov 15, 2026
- lsongdev/skillstheir own version, first seen Sep 10, 2026
- OpenMinis/MinisSkillstheir own version, first seen Sep 4, 2026
- freestylefly/canghe-skillstheir own version, first seen Feb 24, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- OpenMinis/MinisSkills★ 612same name
- freestylefly/canghe-skills★ 461same name
- wuxutian2-bot/douyin-downloader★ 6same name
- lsongdev/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- agent-orchestraSkill
- check-reasonix-updateSkill
- defaultSkill
- github-project-replicationSkill
- skill-install-managerSkill
- skill-standard-harnessSkill
- zh-quotesSkill
- your-skill-nameSkill
The file
Files
抖音视频下载
从抖音分享链接下载无水印原视频。通过解析抖音移动端分享页面的 window._ROUTER_DATA 提取视频直链,无需 cookies、无需登录、无需第三方 API。
脚本位置
- 主脚本:
scripts/douyin_dl.py - 运行依赖: Python 3 +
requests库
安装依赖
pip install requests使用方法
python scripts/douyin_dl.py "<抖音链接>"
# 指定输出文件名
python scripts/douyin_dl.py "https://v.douyin.com/dl1KJ_7jHuM/" -o 我的视频.mp4支持链接格式
https://v.douyin.com/xxxxx/— 短链接(推荐)https://www.douyin.com/video/xxxxx— 网页版链接https://www.iesdouyin.com/share/video/xxxxx/— 国际版链接
工作原理
- 解析链接:跟随短链接重定向,提取
video_id - 获取信息:用移动端 UA 请求
iesdouyin.com/share/video/{id}/ - 提取数据:从 HTML 中提取
window._ROUTER_DATAJSON(花括号配对解析) - 获取直链:从
loaderData → video_(id)/page → videoInfoRes → item_list[0] → video → play_addr → url_list获取视频直链 - 下载:以平台返回的最高原画质下载无水印视频,保存为
douyin_{video_id}.mp4
输出说明
- 格式: MP4,原画质(最高 4K,取决于平台返回),无水印
- 大小: 原画质视频通常 200-500 MB
- 文件位置: 当前工作目录或
-o指定路径
如果脚本失效(调试指南)
抖音可能更新页面结构导致提取失败。调试步骤:
- 用 iPhone UA 手动访问
https://www.iesdouyin.com/share/video/{video_id}/ - 在页面源码中搜索
_ROUTER_DATA - 追踪新的 JSON 路径找到
url_list - 更新
douyin_dl.py中的提取路径
限制
- 仅支持公开视频(私密/已删除的视频无法下载)
- 抖音 API 可能更新导致数据结构变化,届时需适配
_ROUTER_DATA路径 - 如需小文件,可在脚本
get_download_url中优先从url_list选取较低分辨率的地址(若平台返回),或后续版本增加清晰度参数
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

