Deployable stack that scrapes posts, profiles, comments, and live data from Douyin, TikTok, and Bilibili, archives results in PostgreSQL, and exposes REST, MCP, CLI, and a web console.
Overview
DouyinTikTokDownloadAPI collects social content you point it at—single posts, creators, comments, hashtags, sounds, live rooms, trending boards, and search pages—then normalises responses through an asynchronous task layer. An automatic identity pool mints guest credentials and rotates them with health checks, circuit breakers, and per-endpoint rate limits so failures surface in the console instead of failing silently.
Downloaded videos and image albums use platform-published clean streams without watermark stripping. Parsed records land in PostgreSQL (with Redis backing tasks), so removed upstream posts remain readable locally. A Go sidecar handles media downloads with progress tracking, including multi-part Bilibili uploads.
Operators interact through a React console for playground parsing, scheduling, libraries, API keys, and diagnostics. The same backend serves a broad REST surface, an MCP server with a focused tool set for agents, and a CLI. Optional offline Mandarin speech-to-text runs FunASR models in an isolated sidecar after download.
Deployment targets Docker Compose with guided installer scripts that generate secrets and scale container limits. A public demo instance exists for evaluation but is rate-limited, read-only, and not intended as a production dependency.
Key features
- Self-maintaining guest identity pool
- Async REST with optional synchronous wait
- MCP tools for agent integrations
- Watermark-free media download sidecar
- PostgreSQL content archive
- React operator console
- Offline FunASR transcription option
- Native Python request signing
Use cases
- Archiving short-video platform posts locally
- Building agents that fetch social metadata
- Batch downloading creator media without watermarks
- Monitoring live room and trending board data
- Transcribing downloaded Mandarin clips offline