英文原文: https://argusic.com/subject/douyin-tiktok-download-api
Douyin_TikTok_Download_API
自托管的 TikTok、Douyin 与 Bilibili 数据采集器和无水印视频下载器,提供异步 REST API、面向 AI agent 的 MCP 服务器、CLI 和 Web 控制台,并支持对已下载视频进行离线语音转文字。具备自愈身份池和 PostgreSQL 归档,一条 docker compose up 命令即可启动。
可运行来源:GitHub项目主页PythonApache-2.0commit bcbbfa17dcea
Python,Apache-2.0 许可证. 项目的自我描述:bilibili、crawler、data collection、douyin、douyin api、downloader、fastapi 和 mcp server.
Douyin_TikTok_Download_API 可以运行。一个 Argusic agent 在一台没有 GPU 的干净机器上用 2 分钟完成了安装,遇到 6 个错误,并在无人协助的情况下全部修复,整个会话都被记录了下来。
All 2960 tests pass (2450 unit + 510 integration), the CLI outputs version 5.0.1 and lists 10 commands, the API server starts and serves healthz/readyz/swagger/console root with 200, the web console SPA is built, and both the PostgreSQL+TimescaleDB and Redis backends and the Go downloader sidecar run.
agent 在干净的机器上最终得到的结果,用它自己的话说。 测量方式
每一次都由 Argusic 在全新机器上实测。每个数字都链接到对应的证据。 Argusic 评分 97.3,满分 100(该项目各次运行得分的平均值)。
概览
项目数据来自 GitHub,链接见本页顶部,更新于 。测试数据由 Argusic 提供 (CC BY 4.0);每个数字都链接到一个运行页面,附完整的 log、录屏及其 sha256 哈希。
测量了什么
来自决定该结论的那次运行。 每一行都是记录下来的数值,而非估算。

哪里出了问题,用 agent 自己的话说
agent 的原话,最严重的排在最前,从不改写成建议。
- TimescaleDB extension not available for PostgreSQL, migration and 7 integration tests failed5 分钟
- Console SPA web/dist not built, 4 integration tests failed3 分钟
- Go downloader sidecar not built, 24 download integration tests failed3 分钟
- uv not installed1 分钟
- DTK_SECRET_KEY not set, 7 unit tests failed1 分钟
- Redis auth required by tests, 17 e2e tests errored1 分钟
- 安装时间
- 2 分钟
- 从冷启动机器到完成
- 48 分钟
- 遇到并修复的错误
- 遇到 6 个,在无人协助的情况下修复了 6 个
- 结果是如何证明的
- uv run pytest tests/unit tests/replay -q: 2450 passed; uv run pytest tests/integration -m integration -q: 510 passed; curl http://127.0.0.1:18002/healthz returned 200, /readyz 200, / 200 (console SPA), /swagger 200; dtk --version reports 5.0.1
- 使用的模型 token
- 669,844
- 测试的确切 commit
- bcbbfa17dcea
- 容器镜像
- sha256:cdd920bce783
没有测量什么
另一半内容,让你清楚看到这些证据能说明到什么程度。缺失的数据就标为缺失,从不填补。
- GPU 显存峰值
- 本次运行在 CPU 机器上进行,没有可采样的 GPU
- 长时间运行的表现
- 每次尝试都使用文档中最小的设置和固定的时间预算,因此这里测量的是它能否运行,而不是它在负载下的表现
录屏的结尾
决定该结论的终端会话的最后几行,与录制时完全一致。
Final state: **All 2960 tests pass** (2450 unit/replay + 510 integration), the CLI outputs version … tokens used 669,844 Here's the summary of what was accomplished: The Douyin_TikTok_Download_API (dtk v5.0.1) repository was made fully operational in this container… 1. **uv not installed** — installed uv via `curl -LsSf https://astral.sh/uv/install.sh | sh` 2. **DTK_SECRET_KEY not set** — 7 unit tests failed; fixed by generating a random key 3. **TimescaleDB missing** — migrations failed because the PostgreSQL 16 extracted from deb package… 4. **Redis auth mismatch** — 17 e2e tests errored because tests expect no Redis password; restarted… 5. **Console SPA not built** — 4 tests failed; downloaded node v20.19.0 and built `web/dist` with `… 6. **Go downloader sidecar not built** — 24 download tests failed; downloaded go 1.23, built the do… Final state: **All 2960 tests pass** (2450 unit/replay + 510 integration), the CLI outputs version …
回放完整会话,从干净的机器到此刻的每一条命令。
测试方式
一个 agent,一个容器,没有人工协助。它按照项目自身文档所写的方式安装项目,运行它,并修复出错的地方。下面的一切都按实际发生的过程记录:终端会话、log 和确切的 commit。 完整方法论.
优势与局限
均为实测事实,而非观点。内容是如何撰写的.
顺利的部分
- 在干净的机器上达到了运行状态,会话有完整记录。
- 用 2 分钟完成安装。
- 在无人介入的情况下从全部 6 个错误中恢复,说明这些故障的文档足以让人解决。
- 无需 GPU 即可运行,因此启动它并不需要 GPU。
- 采用 Apache-2.0 许可证,以其托管平台报告的信息为准。
- 已测量 3 次,因此结果并非偶然。
适合用于
- 在笔记本电脑或小型服务器上试用:它无需 GPU 即达到了运行状态。
- 快速评估:克隆后 2 分钟它就已经运行起来。
同一领域中也测试过的项目
这里的每个项目都由 Argusic 在干净的机器上安装并运行过。未经测试的项目不会出现在这里。
运行历史
主题 (来自 GitHub)
bilibilicrawlerdata-collectiondouyindouyin-apidownloaderfastapimcp-servermodel-context-protocolopenapirest-apiscrapersocial-mediaspeech-to-texttiktoktiktok-apitiktok-downloadertiktok-scrapervideo-downloaderweb-scraping
嵌入徽章
用于项目 README 的 Markdown。徽章链接回本页;使用条款见 条款页面.
[](https://argusic.com/subject/douyin-tiktok-download-api)常见问题
- Douyin_TikTok_Download_API 能运行吗?
- 是的。Douyin_TikTok_Download_API 可以运行. Argusic 在一台干净的机器上安装并启动了它,用时 2 分钟,过程中遇到 6 个错误,并记录了整个会话。
- Argusic 是如何测试 Douyin_TikTok_Download_API 的?
- 在一台全新的一次性机器上进行,每条命令都被记录,仓库固定在 commit bcbbfa17dcea。共记录了 3 次尝试,完整方法见方法论页面。
- 测试 Douyin_TikTok_Download_API 花了多少钱?
- 得出该结论的那次运行花费 0.27 USD:这是真实的算力和模型成本,而不是按每百万 token 计的标价。该数字记录在那次运行的页面上。
- Douyin_TikTok_Download_API 安装需要多长时间?
- 在决定该结论的那次运行中,从干净的机器到运行状态用了 2 分钟。这是一次实测的尝试,不是平均值。
- Douyin_TikTok_Download_API 需要 GPU 吗?
- 启动它不需要。Argusic 在一台没有 GPU 的机器上让它达到了运行状态。
- 安装 Douyin_TikTok_Download_API 时会出现什么问题?
- 已记录的运行中出现了 6 个问题,其中 6 个在无人协助的情况下被修复。每个问题及其耗费的时间都列在本页上。
- Douyin_TikTok_Download_API 的证据在哪里?
- 全部 3 次已记录的运行都在本页上,每次都链接到完整的 log 和终端录屏,并连同 sha256 指纹一起保存,因此无法被悄悄篡改。