mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-22 18:36:56 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
0badf9a9d4
23
README.en.md
23
README.en.md
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
> 🚨If you need to use a private server to run this project, please refer to the deployment method\[[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)]
|
> 🚨If you need to use a private server to run this project, please refer to the deployment method\[[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/),[AIOHTTP](https://docs.aiohttp.org/), fast asynchronous[Tik Tok](https://www.douyin.com/)/[TikTok](https://www.tiktok.com/)It is a data crawling tool, and realizes online batch analysis and download of video or atlas without watermark through the web terminal, data crawling API, iOS shortcut command without watermark download and other functions. You can deploy or transform 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/),[AIOHTTP](https://docs.aiohttp.org/), fast asynchronous[Tik Tok](https://www.douyin.com/)/[TikTok](https://www.tiktok.com/)It is a data crawling tool, and realizes online batch analysis and download of video or atlas without watermark through the web terminal, data crawling API, iOS shortcut command without watermark download and other functions. You can deploy or transform 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包](https://pypi.org/project/douyin-tiktok-scraper/)As a parsing library, it is easy to crawl data, etc...
|
||||||
|
|
||||||
_Some simple application scenarios:_
|
_Some simple application scenarios:_
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ _Download prohibited videos for data analysis, download without watermark for iO
|
|||||||
|
|
||||||
> **_web_api.py:_**
|
> **_web_api.py:_**
|
||||||
|
|
||||||
- Get request parameters and use`Scraper()`After the class processes the data, it returns in the form of JSON, video downloads, quick calls with iOS shortcut commands, and asynchronous support.
|
- Get request parameters and use`Scraper()`The class processes the data and returns it in the form of JSON, video downloads, quick calls with iOS shortcuts, and asynchronous support.
|
||||||
|
|
||||||
> **_web_app.py:_**
|
> **_web_app.py:_**
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ _Download prohibited videos for data analysis, download without watermark for iO
|
|||||||
|
|
||||||
- Douyin (overseas version of Douyin: TikTok) video/picture analysis
|
- Douyin (overseas version of Douyin: TikTok) video/picture analysis
|
||||||
- Batch analysis on the web page (supports Douyin/TikTok mixed submission)
|
- 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
|
- API call to get link data
|
||||||
- make[pip package](https://pypi.org/project/douyin-tiktok-scraper/)Easily and quickly import your projects
|
- make[pip package](https://pypi.org/project/douyin-tiktok-scraper/)Easily and quickly import your projects
|
||||||
- [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
|
- [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
|
||||||
@ -100,9 +100,9 @@ _Download prohibited videos for data analysis, download without watermark for iO
|
|||||||
|
|
||||||
* * *
|
* * *
|
||||||
|
|
||||||
## 📦Calling the parsing library:
|
## 📦Call the parsing library:
|
||||||
|
|
||||||
> 💡PyPi:<https://pypi.org/project/douyin-tiktok-scraper/>
|
> 💡PyPi:<https://pypi.org/project/douyin-tiktok-scraper/>
|
||||||
|
|
||||||
Install the parsing library:`pip install douyin-tiktok-scraper`
|
Install the parsing library:`pip install douyin-tiktok-scraper`
|
||||||
|
|
||||||
@ -222,15 +222,10 @@ My invite link:
|
|||||||
|
|
||||||
> Use the script to deploy this project with one click
|
> Use the script to deploy this project with one click
|
||||||
|
|
||||||
- Download using wget command[install.sh](https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh)to server
|
- Download using wget command[install.sh](https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh)to the server and run
|
||||||
|
|
||||||
|
|
||||||
wget https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/install.sh
|
wget -O install.sh https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh && sudo bash install.sh
|
||||||
|
|
||||||
- Execute with root privileges after the download is complete
|
|
||||||
|
|
||||||
|
|
||||||
sudo sh install.sh
|
|
||||||
|
|
||||||
- Automatically used after running the Bash script[config.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.py)to help you modify[config. ini](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.ini)
|
- Automatically used after running the Bash script[config.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.py)to help you modify[config. ini](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.ini)
|
||||||
|
|
||||||
@ -253,7 +248,7 @@ api: started separately`web_api.py`
|
|||||||
|
|
||||||
web: started separately`web_app.py`
|
web: started separately`web_app.py`
|
||||||
|
|
||||||
all: start at the same time`web_api.py`with`web_app.py`
|
all: start at the same time`web_api.py`and`web_app.py`
|
||||||
|
|
||||||
```console
|
```console
|
||||||
Run API or Web? [api/web/all/quit] api
|
Run API or Web? [api/web/all/quit] api
|
||||||
@ -275,7 +270,7 @@ You can stop the api service by running: systemctl stop web_api.service
|
|||||||
- web service:`systemctl enable/disable web_app.service`
|
- web service:`systemctl enable/disable web_app.service`
|
||||||
- api service:`systemctl enable/disable web_api.service`
|
- api service:`systemctl enable/disable web_api.service`
|
||||||
|
|
||||||
> update project
|
> update item
|
||||||
|
|
||||||
- `cd /www/wwwroot/Douyin_TikTok_Download_API/bash`
|
- `cd /www/wwwroot/Douyin_TikTok_Download_API/bash`
|
||||||
- `sudo sh update.sh`
|
- `sudo sh update.sh`
|
||||||
|
10
README.md
10
README.md
@ -246,16 +246,10 @@ https://api.douyin.wtf/@evil0ctal/video/7156033831819037994
|
|||||||
|
|
||||||
> 使用脚本一键部署本项目
|
> 使用脚本一键部署本项目
|
||||||
|
|
||||||
- 使用wget命令下载[install.sh](https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh)至服务器
|
- 使用wget命令下载[install.sh](https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh)至服务器并运行
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/install.sh
|
wget -O install.sh https://raw.githubusercontent.com/Evil0ctal/Douyin_TikTok_Download_API/main/bash/install.sh && sudo bash install.sh
|
||||||
```
|
|
||||||
|
|
||||||
- 下载完成后使用root权限执行
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo sh install.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- 运行Bash脚本后会自动使用[config.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.py)来帮助你修改[config.ini](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.ini)
|
- 运行Bash脚本后会自动使用[config.py](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.py)来帮助你修改[config.ini](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/blob/main/config.ini)
|
||||||
|
@ -18,7 +18,7 @@ pywebio==1.7.0
|
|||||||
six==1.16.0
|
six==1.16.0
|
||||||
slowapi==0.1.6
|
slowapi==0.1.6
|
||||||
sniffio==1.3.0
|
sniffio==1.3.0
|
||||||
starlette==0.21.0
|
starlette==0.25.0
|
||||||
tenacity==8.1.0
|
tenacity==8.1.0
|
||||||
tornado==6.2
|
tornado==6.2
|
||||||
typing_extensions==4.4.0
|
typing_extensions==4.4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user