{"name":"Douyin_TikTok_Download_API: High-Performance Scraper for Social Media Videos","description":"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.","github":"https://github.com/Evil0ctal/Douyin_TikTok_Download_API","url":"https://osrepos.com/repo/evil0ctal-douyin_tiktok_download_api","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/evil0ctal-douyin_tiktok_download_api","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/evil0ctal-douyin_tiktok_download_api.md","json":"https://osrepos.com/repo/evil0ctal-douyin_tiktok_download_api.json","topics":["api","async","crawler","douyin","tiktok","scraper","python","social-media"],"keywords":["api","async","crawler","douyin","tiktok","scraper","python","social-media"],"stars":null,"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.","content":"## Introduction\n\nDouyin_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.\n\n## Installation\n\nThe simplest way to deploy Douyin_TikTok_Download_API is by using Docker, ensuring environment consistency and quick setup.\n\nFirst, pull the latest Docker image:\n\nbash\ndocker pull evil0ctal/douyin_tiktok_download_api:latest\n\n\nNext, 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:\n\nbash\ndocker run -d --name douyin_tiktok_api -p 80:80 evil0ctal/douyin_tiktok_download_api\n\n\nYou 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.\n\n## Examples\n\nThe project provides a Python parsing library for easy integration into your own projects.\n\nInstall the parsing library:\n\nbash\npip install douyin-tiktok-scraper\n\n\nHere's a simple example of how to use the `hybrid_parsing` function:\n\npython\nimport asyncio\nfrom douyin_tiktok_scraper.scraper import Scraper\n\napi = Scraper()\n\nasync def hybrid_parsing(url: str) -> dict:\n    # Hybrid parsing (Douyin/TikTok URL)\n    result = await api.hybrid_parsing(url)\n    print(f\"The hybrid parsing result:\\n {result}\")\n    return result\n\nasyncio.run(hybrid_parsing(url=input(\"Paste Douyin/TikTok/Bilibili share URL here: \")))\n\n\nThe tool supports various submission formats, including:\n\n*   Douyin sharing password (e.g., `7.43 pda:/ ... https://v.douyin.com/L5pbfdP/ ...`)\n*   Douyin short URL (e.g., `https://v.douyin.com/L4FJNR3/`)\n*   Douyin normal URL (e.g., `https://www.douyin.com/video/6914948781100338440`)\n*   TikTok short URL (e.g., `https://www.tiktok.com/t/ZTR9nDNWq/`)\n*   TikTok normal URL (e.g., `https://www.tiktok.com/@evil0ctal/video/7156033831819037994`)\n*   Batch URLs, allowing multiple links in one submission.\n\n## Why Use It\n\nDouyin_TikTok_Download_API stands out for its comprehensive features and ease of use:\n\n*   **No-Watermark Downloads**: Easily download videos and photo albums from supported platforms without watermarks.\n*   **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.\n*   **Online Batch Parsing**: Process multiple URLs simultaneously through its intuitive web interface.\n*   **iOS Shortcut Integration**: Seamlessly integrate with iOS shortcut commands for in-app, watermark-free downloads.\n*   **High Performance**: Designed for speed and efficiency, utilizing asynchronous operations to handle data crawling.\n*   **Open Source**: The project is free and open source, allowing for community contributions and self-hosting.\n\n## Links\n\n*   **GitHub Repository**: [https://github.com/Evil0ctal/Douyin_TikTok_Download_API](https://github.com/Evil0ctal/Douyin_TikTok_Download_API){:target=\"_blank\"}\n*   **Demo Web APP**: [https://douyin.wtf/](https://douyin.wtf/){:target=\"_blank\"}\n*   **API Documentation**: [https://douyin.wtf/docs](https://douyin.wtf/docs){:target=\"_blank\"}\n*   **PyPI Package**: [https://pypi.org/project/douyin-tiktok-scraper/](https://pypi.org/project/douyin-tiktok-scraper/){:target=\"_blank\"}","metrics":{"detailViews":11,"githubClicks":4},"dates":{"published":null,"modified":"2025-11-21T12:00:58.000Z"}}