Douyin_TikTok_Download_API: High-Performance Scraper for Social Media Videos

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Douyin_TikTok_Download_API: High-Performance Scraper for Social Media Videos

Summary

Douyin_TikTok_Download_API is a high-performance, asynchronous tool for crawling data from Douyin, TikTok, and Bilibili. It supports API calls, online batch parsing, and no-watermark video downloads. This Python-based project offers a comprehensive solution for social media data extraction and management.

Repository Information

Analyzed by OSRepos on November 21, 2025

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

Douyin_TikTok_Download_API is a high-performance, asynchronous data crawling tool designed for popular social media platforms like Douyin, TikTok, and Bilibili. This project offers a comprehensive solution for extracting video, user, and comment data, supporting API calls, online batch parsing, and downloading content without watermarks. Built primarily with Python, it leverages FastAPI for its API, PyWebIO for the web interface, and HTTPX for efficient asynchronous requests, making it a robust and versatile tool for developers and data enthusiasts.

Installation

The simplest way to deploy Douyin_TikTok_Download_API is by using Docker, ensuring environment consistency and quick setup.

First, pull the latest Docker image:

docker pull evil0ctal/douyin_tiktok_download_api:latest

Next, run the Docker container. This command will start the container in the background and map port 80 of your host to port 80 of the container:

docker run -d --name douyin_tiktok_api -p 80:80 evil0ctal/douyin_tiktok_download_api

You can verify the container is running using docker ps. Once active, you can access the application via http://localhost or your server's IP address. For advanced configurations, such as setting cookies for risk control, you may need to modify the config.yaml files located in the /crawlers/douyin/web/config.yaml and /crawlers/tiktok/web/config.yaml paths within your deployment.

Examples

The project provides a Python parsing library for easy integration into your own projects.

Install the parsing library:

pip install douyin-tiktok-scraper

Here's a simple example of how to use the hybrid_parsing function:

import asyncio
from douyin_tiktok_scraper.scraper import Scraper

api = Scraper()

async def hybrid_parsing(url: str) -> dict:
    # Hybrid parsing (Douyin/TikTok URL)
    result = await api.hybrid_parsing(url)
    print(f"The hybrid parsing result:\n {result}")
    return result

asyncio.run(hybrid_parsing(url=input("Paste Douyin/TikTok/Bilibili share URL here: ")))

The tool supports various submission formats, including:

  • Douyin sharing password (e.g., 7.43 pda:/ ... https://v.douyin.com/L5pbfdP/ ...)
  • Douyin short URL (e.g., https://v.douyin.com/L4FJNR3/)
  • Douyin normal URL (e.g., https://www.douyin.com/video/6914948781100338440)
  • TikTok short URL (e.g., https://www.tiktok.com/t/ZTR9nDNWq/)
  • TikTok normal URL (e.g., https://www.tiktok.com/@evil0ctal/video/7156033831819037994)
  • Batch URLs, allowing multiple links in one submission.

Why Use It

Douyin_TikTok_Download_API stands out for its comprehensive features and ease of use:

  • No-Watermark Downloads: Easily download videos and photo albums from supported platforms without watermarks.
  • Rich API Interface: Access a wide range of data, including video details, user profiles, liked works, comments, live stream data, and more, for Douyin, TikTok, and Bilibili.
  • Online Batch Parsing: Process multiple URLs simultaneously through its intuitive web interface.
  • iOS Shortcut Integration: Seamlessly integrate with iOS shortcut commands for in-app, watermark-free downloads.
  • High Performance: Designed for speed and efficiency, utilizing asynchronous operations to handle data crawling.
  • Open Source: The project is free and open source, allowing for community contributions and self-hosting.

Links

Related repositories

Similar repositories that may be relevant next.

awesome-ai: A Curated List of 400+ AI APIs, Tools, and Frameworks

awesome-ai: A Curated List of 400+ AI APIs, Tools, and Frameworks

August 7, 2026

The awesome-ai repository by edwardtay offers a comprehensive, curated list of over 400 AI APIs, tools, frameworks, and platforms. Spanning more than 40 categories, it serves as an invaluable resource for developers and researchers navigating the vast landscape of artificial intelligence. This list helps users discover solutions for LLMs, agents, image/video generation, MLOps, and more.

aiawesome-listgenerative-ai
httmock: A Powerful Mocking Library for Python Requests

httmock: A Powerful Mocking Library for Python Requests

August 3, 2026

httmock is an essential Python library designed for mocking HTTP requests made by the popular `requests` library. It allows developers to easily simulate API responses, making it ideal for testing applications that interact with external services. With httmock, you can control network interactions, ensuring reliable and repeatable tests without relying on actual network calls.

httpmockpython
toapi: Declaratively Turn Any Website into a JSON API

toapi: Declaratively Turn Any Website into a JSON API

July 24, 2026

toapi is a powerful Python library designed to transform any website into a clean JSON API declaratively. It enables users to define desired data fields using CSS selectors, fetching and parsing web pages on demand. With built-in caching and support for dynamic content, toapi simplifies web data extraction without complex crawlers or databases.

apipythonweb scraping
dogpile.cache: A Robust Python Caching API for Various Backends

dogpile.cache: A Robust Python Caching API for Various Backends

May 9, 2026

dogpile.cache is a Python caching API designed to offer a generic interface to diverse caching backends. It builds upon the "dogpile lock" concept, ensuring efficient resource creation while allowing other threads to access previous versions. This project serves as a modern, more efficient replacement for the Beaker caching system, developed by the same author.

pythoncachingapi

Source repository

Open the original repository on GitHub.

12 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️