finds.dev← search

// the find

Evil0ctal/Douyin_TikTok_Download_API

★ 18,283 · Python · Apache-2.0 · updated Oct 2025

🚀「Douyin_TikTok_Download_API」是一个开箱即用的高性能异步抖音、快手、TikTok、Bilibili数据爬取工具,支持API调用,在线批量解析及下载。

A FastAPI + PyWebIO service that reverse-engineers the Douyin (Chinese TikTok), TikTok, and Bilibili web APIs to fetch video metadata and download watermark-free media. It handles the X-Bogus/A-Bogus signature generation that these platforms use to block unofficial API access. Aimed at developers building bots, archival tools, or iOS shortcuts that need programmatic access to short-form video data.

The signature generation code (xbogus.py, abogus.py) is the real value here — reverse-engineering these anti-scraping tokens is non-trivial work that saves days of effort. The crawler architecture is cleanly separated by platform with consistent patterns across Douyin/TikTok/Bilibili. Docker support and a one-line install script make self-hosting straightforward. The async HTTPX + FastAPI stack handles concurrent requests well and the benchmark screenshots show latency competitive with the official APIs.

The whole thing breaks whenever Douyin or TikTok rotates their anti-bot signatures — there's no automated detection of API breakage, so you'll find out when users complain. Cookie management is completely manual: you paste your own login cookie into a YAML file, and if it expires you're down until you refresh it. The PyPI package is explicitly marked deprecated with no replacement path documented. The pip package being abandoned while the main repo is actively developed means any project that imported it as a library is now stranded.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →