From 28c32135ee6ae40859c457ac4a9a52a8e868e915 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Mar 2023 09:01:54 +0000 Subject: [PATCH 1/4] docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme --- README.en.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.en.md b/README.en.md index 2f7cc39..6d8396a 100644 --- a/README.en.md +++ b/README.en.md @@ -7,7 +7,7 @@ [English](./README.en.md)\|[Simplified Chinese](./README.md) -🚀「Douyin_TikTok_Download_API」is an out-of-the-box high-performance asynchronous[Tik Tok](https://www.douyin.com)\|[TikTok](https://www.tiktok.com)A data crawling tool that supports API calls, online batch analysis and downloading. +🚀「Douyin_TikTok_Download_API」is an out-of-the-box high-performance asynchronous[Tik Tok](https://www.douyin.com)\|[TikTok](https://www.tiktok.com)Data crawling tool, supports API call, online batch analysis and download. [![GitHub license](https://img.shields.io/github/license/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square)](LICENSE)[![Release Version](https://img.shields.io/github/v/release/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/releases/latest)[![GitHub Star](https://img.shields.io/github/stars/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/stargazers)[![GitHub Fork](https://img.shields.io/github/forks/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/network/members)[![GitHub issues](https://img.shields.io/github/issues/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues)[![GitHub closed issues](https://img.shields.io/github/issues-closed/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues?q=is%3Aissue+is%3Aclosed)![GitHub Repo size](https://img.shields.io/github/repo-size/Evil0ctal/Douyin_TikTok_Download_API?style=flat-square&color=3cb371)
[![PyPI v](https://img.shields.io/pypi/v/douyin-tiktok-scraper?style=flat-square&color=%23a8e6cf)](https://pypi.org/project/douyin-tiktok-scraper/)[![PyPI wheel](https://img.shields.io/pypi/wheel/douyin-tiktok-scraper?style=flat-square&color=%23dcedc1)](https://pypi.org/project/douyin-tiktok-scraper/#files)[![PyPI dm](https://img.shields.io/pypi/dm/douyin-tiktok-scraper?style=flat-square&color=%23ffd3b6)](https://pypi.org/project/douyin-tiktok-scraper/)[![PyPI pyversions](https://img.shields.io/pypi/pyversions/douyin-tiktok-scraper?color=%23ffaaa5&style=flat-square)](https://pypi.org/project/douyin-tiktok-scraper/)
[![API status](https://img.shields.io/website?down_color=lightgrey&label=API%20Status&down_message=API%20offline&style=flat-square&up_color=%23dfb9ff&up_message=online&url=https%3A%2F%2Fapi.douyin.wtf%2Fdocs)](https://api.douyin.wtf/docs)[![TikHub-API status](https://img.shields.io/website?down_color=lightgrey&label=TikHub-API%20Status&down_message=API%20offline&style=flat-square&up_color=%23dfb9ff&up_message=online&url=https%3A%2F%2Fapi.tikhub.io%2Fdocs)](https://api.tikhub.io/docs)
[![爱发电](https://img.shields.io/badge/爱发电-evil0ctal-blue.svg?style=flat-square&color=ea4aaa&logo=github-sponsors)](https://afdian.net/@evil0ctal)[![Kofi](https://img.shields.io/badge/Kofi-evil0ctal-orange.svg?style=flat-square&logo=kofi)](https://ko-fi.com/evil0ctal)[![Patreon](https://img.shields.io/badge/Patreon-evil0ctal-red.svg?style=flat-square&logo=patreon)](https://www.patreon.com/evil0ctal) @@ -21,11 +21,11 @@ This project is based on[PyWebIO](https://github.com/pywebio/PyWebIO),[FastAPI _Some simple application scenarios:_ -_Download prohibited videos for data analysis, download without watermark for iOS (with[iOS built-in shortcut command APP](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Cooperate with the API of this project to realize in-app download or read clipboard download), etc....._ +_Download prohibited videos for data analysis, download without watermark for iOS (with[iOS built-in shortcut command APP](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Cooperate with this project API to realize in-app download or read clipboard download), etc....._ -## 🖥Public site: I'm fragile...don't stress test (••᷄ࡇ•᷅ ) +## 🖥Public site: I'm vulnerable...don't stress test (••᷄ࡇ•᷅ ) -> **Tikhub-Opi:**support`Douyin|TikTok`Crawl the author's home page video data (remove watermark link, liked video list (permissions need to be public), video comment data, background music video list data, etc...), for details, please check TikHub- API documentation. In addition, TikHub-API is faster than this project's API when capturing TikTok data. +> **Tikhub-Opi:**support`Douyin|TikTok`Crawl the author's home page video data (remove watermark link, liked video list (permission must be public), video comment data, background music video list data, etc...), for details, please check TikHub- API documentation. In addition, TikHub-API is faster than this project's API when capturing TikTok data. 🍔Web APP: @@ -85,7 +85,7 @@ _Download prohibited videos for data analysis, download without watermark for iO - API call to get link data - make[pip package](https://pypi.org/project/douyin-tiktok-scraper/)Easily and quickly import your projects - [iOS shortcut commands quickly call API](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Realize in-app download without watermark video/photo gallery -- Parse all videos on the author's homepage ([Tikhub-opy](https://api.tikhub.io/docs) 支持抖音/TikTok) +- Parse all videos on the author's homepage ([Tikhub-opy](https://api.tikhub.io/docs)Support Douyin/TikTok) - Parse all comment information in the video ([Tikhub-opy](https://api.tikhub.io/docs)Support Douyin/TikTok) * * * @@ -94,15 +94,15 @@ _Download prohibited videos for data analysis, download without watermark for iO > 💡Suggestions or PRs are welcome to this repository ♪(・ω・)ノ) -- [ ] Write an asynchronous downloader on the desktop to achieve local batch download +- [ ] Write an asynchronous downloader on the desktop to realize local batch download - [ ] TikHub-API adds data crawling for hash_tag pages[#101](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues/101) - [ ] Add support for other short video platforms, such as: Douyin Volcano, Kuaishou, Watermelon Video, Bilibili * * * -## 📦Call the parsing library: +## 📦Calling the parsing library: -> 💡PyPi: +> 💡PyPi: Install the parsing library:`pip install douyin-tiktok-scraper` @@ -346,7 +346,7 @@ Web main interface:
-## 📜 Star history +## 📜 Star History [![Star History Chart](https://api.star-history.com/svg?repos=Evil0ctal/Douyin_TikTok_Download_API&type=Timeline)](https://star-history.com/#Evil0ctal/Douyin_TikTok_Download_API&Timeline) From 703be52f1b5f9c75268acdce7a4402fed2e5866c Mon Sep 17 00:00:00 2001 From: 17_bzhzq <2419254437@qq.com> Date: Fri, 10 Mar 2023 17:04:00 +0800 Subject: [PATCH 2/4] Update Dockerfile --- Dockerfile | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52dd65d..f043703 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,18 @@ -# Credits -# https://github.com/jw-star -FROM python:3.10.5-slim-buster -MAINTAINER evil0ctal (https://hub.docker.com/repository/docker/evil0ctal/douyin_tiktok_download_api/general) -RUN apt-get update -RUN apt-get -y install gcc -RUN apt-get -y install nodejs -RUN apt-get -y install npm -RUN npm install -y md5 -COPY . /app -RUN pip3 --no-cache-dir install --user -r /app/requirements.txt -WORKDIR /app -# -u print打印出来 +FROM ubuntu:jammy +MAINTAINER jwstar +ENV DEBIAN_FRONTEND=noninteractive -RUN chmod +x start.sh +RUN apt-get -y update \ + && apt-get install -y --no-install-recommends \ + python3.11 python3-pip python3.11-dev nodejs + +COPY . /app +WORKDIR /app +RUN pip3 --no-cache-dir install --user -r /app/requirements.txt + + +RUN chmod +x start.sh && \ + apt-get autoremove -y \ + && apt-get remove -y python3-pip CMD ["./start.sh"] From 0bd7f3a2397d37010baf48b3e5a07d6feb14f99e Mon Sep 17 00:00:00 2001 From: 17_bzhzq <2419254437@qq.com> Date: Fri, 10 Mar 2023 17:04:26 +0800 Subject: [PATCH 3/4] Update start.sh --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 5040d67..fc49eac 100644 --- a/start.sh +++ b/start.sh @@ -1,3 +1,3 @@ #!/bin/sh -python web_app.py & -python web_api.py +python3 web_app.py & +python3 web_api.py From 758580be464b90e3e1344277de3626ac30ef6d90 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Mar 2023 09:05:00 +0000 Subject: [PATCH 4/4] docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme --- README.en.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.en.md b/README.en.md index 6d8396a..eabaeaf 100644 --- a/README.en.md +++ b/README.en.md @@ -21,11 +21,11 @@ This project is based on[PyWebIO](https://github.com/pywebio/PyWebIO),[FastAPI _Some simple application scenarios:_ -_Download prohibited videos for data analysis, download without watermark for iOS (with[iOS built-in shortcut command APP](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Cooperate with this project API to realize in-app download or read clipboard download), etc....._ +_Download prohibited videos for data analysis, download without watermark for iOS (with[iOS built-in shortcut command APP](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Cooperate with the API of this project to realize in-app download or read clipboard download), etc....._ ## 🖥Public site: I'm vulnerable...don't stress test (••᷄ࡇ•᷅ ) -> **Tikhub-Opi:**support`Douyin|TikTok`Crawl the author's home page video data (remove watermark link, liked video list (permission must be public), video comment data, background music video list data, etc...), for details, please check TikHub- API documentation. In addition, TikHub-API is faster than this project's API when capturing TikTok data. +> **Tikhub-Opi:**support`Douyin|TikTok`Crawl the author's home page video data (remove watermark link, liked video list (permissions need to be public), video comment data, background music video list data, etc...), for details, please check TikHub- API documentation. In addition, TikHub-API is faster than this project's API when capturing TikTok data. 🍔Web APP: @@ -62,7 +62,7 @@ _Download prohibited videos for data analysis, download without watermark for iO > **_web_app.py:_** -- for`web_api.py`as well as`scraper.py`A simple web program made to process the value entered in the web page and then use it`Scraper()`class processing and matching`web_api.py`The interface output is on the web page (similar to the separation of front and back ends) +- for`web_api.py`as well as`scraper.py`A simple web program made to process the value entered in the web page and then use it`Scraper()`class processing and matching`web_api.py`The interface output is on the webpage (similar to the separation of front and back ends) **_Most of the parameters of the above files can be found in[config. ini](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.ini)make changes in_** @@ -81,10 +81,10 @@ _Download prohibited videos for data analysis, download without watermark for iO - Douyin (overseas version of Douyin: TikTok) video/picture analysis - Batch analysis on the web page (supports Douyin/TikTok mixed submission) -- Batch download of watermark-free videos from the analysis result page on the web page (removed in V3.X and later versions, please deploy V2.X version by yourself) +- Batch download of non-watermarked videos from the analysis result page on the web page (removed in V3.X and later versions, please deploy V2.X version by yourself) - API call to get link data - make[pip package](https://pypi.org/project/douyin-tiktok-scraper/)Easily and quickly import your projects -- [iOS shortcut commands quickly call API](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Realize in-app download without watermark video/photo gallery +- [iOS shortcut command to quickly call API](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Realize in-app download without watermark video/photo gallery - Parse all videos on the author's homepage ([Tikhub-opy](https://api.tikhub.io/docs)Support Douyin/TikTok) - Parse all comment information in the video ([Tikhub-opy](https://api.tikhub.io/docs)Support Douyin/TikTok) @@ -212,7 +212,7 @@ online: > 💡Tips: It is best to deploy this project to a server in the United States, otherwise strange bugs may appear. -recommend everyone to use[Digitalocean](https://www.digitalocean.com/)The server, mainly because it is free. +recommend everyone to use[Digitalocean](https://www.digitalocean.com/)The server, mainly because of free. Sign up with my invitation link, you can get a $200 credit, and when you spend $25 on it, I can also get a $25 reward. @@ -270,7 +270,7 @@ You can stop the api service by running: systemctl stop web_api.service - web service:`systemctl enable/disable web_app.service` - api service:`systemctl enable/disable web_api.service` -> update project +> update item - `cd /www/wwwroot/Douyin_TikTok_Download_API/bash` - `sudo sh update.sh` @@ -346,7 +346,7 @@ Web main interface:
-## 📜 Star History +## 📜 Star history [![Star History Chart](https://api.star-history.com/svg?repos=Evil0ctal/Douyin_TikTok_Download_API&type=Timeline)](https://star-history.com/#Evil0ctal/Douyin_TikTok_Download_API&Timeline)