From 9fd80d88192558dd7ed8bc2c12e791afeae6fd37 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 22:15:32 +0000 Subject: [PATCH 1/3] docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme --- README.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 4049e37cb..1cce77365 100644 --- a/README.en.md +++ b/README.en.md @@ -278,7 +278,7 @@ My invitation link: - `sudo systemctl enable Douyin_TikTok_Download_API.service` - `sudo systemctl disable Douyin_TikTok_Download_API.service` -> Update project +> 更新项目 - When the project is updated, ensure that the update script is executed in the virtual environment and all dependencies are updated. Enter the project bash directory and run update.sh: - `cd /www/wwwroot/Douyin_TikTok_Download_API/bash && sudo bash update.sh` From 10f703873fe49d34ecd2efb03a7cc13729889675 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 19 May 2024 13:28:40 +0800 Subject: [PATCH 2/3] Update docker-compose.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正映射路径,容器内部的workdir是/app --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c32abf3c9..73f38684b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,11 +7,11 @@ services: # 定义服务列表 container_name: douyin_tiktok_download_api # 容器名称 restart: always # 容器退出后总是重启 volumes: # 挂载卷配置 - - ./douyin_tiktok_download_api/douyin_web/config.yaml:/crawlers/douyin/web/config.yaml - - ./douyin_tiktok_download_api/tiktok_web/config.yaml:/crawlers/tiktok/web/config.yaml - - ./douyin_tiktok_download_api/tiktok_app/config.yaml:/crawlers/tiktok/app/config.yaml + - ./douyin_tiktok_download_api/douyin_web/config.yaml:/app/crawlers/douyin/web/config.yaml + - ./douyin_tiktok_download_api/tiktok_web/config.yaml:/app/crawlers/tiktok/web/config.yaml + - ./douyin_tiktok_download_api/tiktok_app/config.yaml:/app/crawlers/tiktok/app/config.yaml environment: # 环境变量配置 TZ: Asia/Shanghai # 设置时区为亚洲/上海 PUID: 1026 # 设置容器内部的用户 ID PGID: 100 # 设置容器内部的用户组 ID - privileged: true # 设置特权模式以便容器内部可以执行特权操作 \ No newline at end of file + privileged: true # 设置特权模式以便容器内部可以执行特权操作 From 8cfcbd6a088c97dfd066a5543e1dcbe2308f1f87 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 May 2024 05:36:33 +0000 Subject: [PATCH 3/3] 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 1cce77365..ad20c76bf 100644 --- a/README.en.md +++ b/README.en.md @@ -17,7 +17,7 @@ > 🚨If you need to use a private server to run this project, please refer to:[Deployment preparations](./README.md#%EF%B8%8F%E9%83%A8%E7%BD%B2%E5%89%8D%E7%9A%84%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C%E8%AF%B7%E4%BB%94%E7%BB%86%E9%98%85%E8%AF%BB),[Docker deployment](./README.md#%E9%83%A8%E7%BD%B2%E6%96%B9%E5%BC%8F%E4%BA%8C-docker),[One-click deployment](./README.md#%E9%83%A8%E7%BD%B2%E6%96%B9%E5%BC%8F%E4%B8%80-linux) -This project is based on[PyWebIO](https://github.com/pywebio/PyWebIO),[FastAPI](https://fastapi.tiangolo.com/),[HTTPX](https://www.python-httpx.org/), fast and asynchronous[Tik Tok](https://www.douyin.com/)/[TikTok](https://www.tiktok.com/)Data crawling tool, and realizes online batch parsing and downloading of videos or photo albums without watermarks, data crawling API, and iOS shortcut commands without watermark downloads through the Web. You can deploy or modify this project yourself to achieve more functions, or you can call it directly in your project[scraper.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/Stable/scraper.py)or install an existing[pip package](https://pypi.org/project/douyin-tiktok-scraper/)As a parsing library, it is easy to crawl data, etc..... +This project is based on[PyWebIO](https://github.com/pywebio/PyWebIO),[FastAPI](https://fastapi.tiangolo.com/),[HTTPX](https://www.python-httpx.org/), fast and asynchronous[Tik Tok](https://www.douyin.com/)/[TikTok](https://www.tiktok.com/)Data crawling tool, and realizes online batch analysis and downloading of videos or photo albums without watermarks through the Web, data crawling API, iOS shortcut command without watermark downloads and other functions. You can deploy or modify this project yourself to achieve more functions, or you can call it directly in your project[scraper.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/Stable/scraper.py)or install an existing[pip package](https://pypi.org/project/douyin-tiktok-scraper/)As a parsing library, it is easy to crawl data, etc..... _Some simple application scenarios:_ @@ -36,7 +36,7 @@ _Download prohibited videos, perform data analysis, download without watermark o ## 🖥Demo site: I am very vulnerable...please do not stress test (·•᷄ࡇ•᷅ ) -> 😾The online download function of the demo site has been turned off, and due to cookie reasons, Douyin's parsing and API services cannot guarantee availability on the Demo site. +> 😾The online download function of the demo site has been turned off, and due to cookie reasons, the availability of Douyin's parsing and API services cannot be guaranteed on the Demo site. 🍔Web APP: @@ -70,7 +70,7 @@ _Download prohibited videos, perform data analysis, download without watermark o - use`PyWebIO`A simple web program created to process the values ​​entered on the web page and use them`Crawlers`The related class processing interface outputs related data on the web page. -**_Most of the parameters of the above files can be found in the corresponding`config.yaml`Make changes in_** +**_Most of the parameters of the above files can be found in the corresponding`config.yaml`Modify in_** ## 💡Project file structure @@ -247,7 +247,7 @@ Online: ## 💻Deployment (Method 1 Linux) -> 💡Tips: It is best to deploy this project to a server in the United States, otherwise strange BUGs may occur. +> 💡Tips: It is best to deploy this project to a server in the United States, otherwise strange BUGs may appear. Recommended for everyone to use[Digitalocean](https://www.digitalocean.com/)server, because you can have sex for free. @@ -274,11 +274,11 @@ My invitation link: > Turn on/off automatic operation at startup -- Use the following commands to set the service to run automatically at boot or cancel automatic run at boot: +- Use the following command to set the service to run automatically at boot or cancel automatic run at boot: - `sudo systemctl enable Douyin_TikTok_Download_API.service` - `sudo systemctl disable Douyin_TikTok_Download_API.service` -> 更新项目 +> Update project - When the project is updated, ensure that the update script is executed in the virtual environment and all dependencies are updated. Enter the project bash directory and run update.sh: - `cd /www/wwwroot/Douyin_TikTok_Download_API/bash && sudo bash update.sh` @@ -294,7 +294,7 @@ Before you begin, make sure Docker is installed on your system. If you haven't i ### Step 1: Pull the Docker image -First, pull the latest Douyin_TikTok_Download_API image from Docker Hub. +首先,从Docker Hub拉取最新的Douyin_TikTok_Download_API镜像。 ```bash docker pull evil0ctal/douyin_tiktok_download_api:latest @@ -355,7 +355,7 @@ Most of the configuration of the project can be found in the following directori ### Step 5: Stop and remove the container -When you need to stop and remove a container, use the following commands: +When you need to stop and remove containers, use the following commands: ```bash # Stop