docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme
This commit is contained in:
parent
01ea59696f
commit
3ac90bc865
1 changed files with 18 additions and 13 deletions
31
README.en.md
31
README.en.md
|
|
@ -28,7 +28,7 @@ Updated on 2022/07/18, the shortcut command can automatically check for updates,
|
|||
|
||||
This project uses[PyWebIO](https://github.com/pywebio/PyWebIO)、[Flask](https://github.com/pallets/flask), using Python to implement online batch parsing of Douyin's watermark-free video/atlas.
|
||||
|
||||
It can be used to download videos that the author prohibits to download, or to perform data crawling, etc., and can be matched with[Shortcut APP that comes with iOS](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.
|
||||
It can be used to download videos that the author prohibits to download, or to perform data crawling, etc., and can be matched with[Shortcut APP that comes with iOS](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.
|
||||
|
||||
The shortcut command needs to be in the Douyin or TikTok app, select the video you want to save, click the share button, and then find "Douyin TikTok No Watermark Download"
|
||||
This option, if you encounter a notification asking whether to allow shortcut commands to access xxxx (domain name or server), you need to click Allow before it can be used normally. The successfully downloaded video or gallery will be saved in a special album for easy browsing.
|
||||
|
|
@ -109,19 +109,24 @@ python3 web_api.py
|
|||
- call parsing library
|
||||
|
||||
```python
|
||||
# 将scraper.py拷贝至你的项目目录
|
||||
# 在该项目中导入scraper.py
|
||||
from scraper import Scraper
|
||||
# pip install DT-Scraper
|
||||
from DT_scraper.scraper import Scraper
|
||||
|
||||
api = Scraper()
|
||||
|
||||
# 解析Douyin视频/图集
|
||||
douyin_data = api.douyin(input('在此输入抖音分享口令/链接:'))
|
||||
douyin_data = api.douyin(input('Douyin video URL:'))
|
||||
# 返回字典
|
||||
print(douyin_data)
|
||||
# 解析TikTok视频/图集
|
||||
tiktok_data = api.tiktok(input('在此输入TikTok分享口令/链接:'))
|
||||
# 返回字典
|
||||
|
||||
# Parsing TikTok Videos/Galleries
|
||||
tiktok_data = api.tiktok(input('TikTok video URL:'))
|
||||
# return dictionary
|
||||
print(tiktok_data)
|
||||
|
||||
# 使用代理进行解析(Parse using a proxy)
|
||||
api.tiktok(input('TikTok video URL:'), proxies = {'all': 127.0.0.1:2333})
|
||||
|
||||
```
|
||||
|
||||
- Entry (port can be modified in the config.ini file)
|
||||
|
|
@ -161,7 +166,7 @@ https://www.douyin.com/video/6914948781100338440
|
|||
https://www.douyin.com/discover?modal_id=7069543727328398622
|
||||
```
|
||||
|
||||
- TikTok Short URL (In-App Copy)
|
||||
- TikTok URL Shortening (In-App Copy)
|
||||
|
||||
```text
|
||||
例子:
|
||||
|
|
@ -197,7 +202,7 @@ The API can convert the request parameters into a watermark-free video/picture s
|
|||
http://localhost(服务器IP):2333/api?url="复制的(抖音/TikTok)口令/链接"
|
||||
```
|
||||
|
||||
- 返回参数
|
||||
- return parameter
|
||||
|
||||
> Douyin video
|
||||
|
||||
|
|
@ -345,7 +350,7 @@ The project is deployed on a South Korean server, parsing TikTok errors, and vis
|
|||
> Deploy using the Pagoda Linux panel (
|
||||
> The Chinese pagoda is going to be bound to a mobile phone number, which is very rogue and cannot be bypassed. It is recommended to use the international version of the pagoda. Google search for the keyword aapanel to install it yourself, and the deployment steps are similar. )
|
||||
|
||||
- First go to the security group to open ports 5000 and 2333 (default 5000 for Web, 2333 for API default, which can be modified in the file config.ini.)
|
||||
- First, go to the security group to open ports 5000 and 2333 (default 5000 for Web, default 2333 for API, which can be modified in the file config.ini.)
|
||||
- Search for python in the Pagoda app store and install the project manager (version 1.9 is recommended)
|
||||
|
||||

|
||||
|
|
@ -361,7 +366,7 @@ The project is deployed on a South Korean server, parsing TikTok errors, and vis
|
|||
- API startup file selection`web_api.py`
|
||||
- Check install module dependencies
|
||||
- Start at will
|
||||
- If the pagoda runs`Nginx`When waiting for other services, please judge whether the port is occupied. The running port can be modified in the file config.ini.
|
||||
- If the pagoda runs`Nginx`When waiting for other services, please judge by yourself whether the port is occupied. The running port can be modified in the file config.ini.
|
||||
|
||||

|
||||
|
||||
|
|
@ -378,7 +383,7 @@ curl -fsSL get.docker.com -o get-docker.sh&&sh get-docker.sh &&systemctl enable
|
|||
```
|
||||
|
||||
- Just leave the config.int and docker-compose.yml files
|
||||
- Run the command to keep the container running in the background
|
||||
- Run the command to let the container run in the background
|
||||
|
||||
```yaml
|
||||
docker compose up -d
|
||||
|
|
|
|||
Loading…
Reference in a new issue