Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Evil0ctal committed May 1, 2024
2 parents 523c3b6 + 788433c commit 61ec8bb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
If you are interested in writing this project together, please add us on WeChat`Evil0ctal`Note: Github project reconstruction, everyone can communicate and learn from each other in the group. Advertising and illegal things are not allowed. It is purely for making friends and technical exchanges.

> 私有接口服务
> Private interface service
Discord:[Tikhub discord](https://discord.com/invite/aMEAS8Xsvz)

Expand All @@ -49,7 +49,7 @@ Free Douyin/TikTok API:[Tikhub Beta Opi](https://beta.tikhub.io/)

> 🚨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/)[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, iOS shortcut commands without watermark downloads through the Web, etc. 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 parsing and downloading of videos or photo albums without watermarks, data crawling API, and iOS shortcut command 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.....

_Some simple application scenarios:_

Expand Down Expand Up @@ -101,7 +101,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 then 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`Modify in_**
**_Most of the parameters of the above files can be found in the corresponding`config.yaml`Make changes in_**

## 💡Project file structure

Expand All @@ -124,7 +124,7 @@ _Download prohibited videos, perform data analysis, download without watermark o

## ✨Supported functions:

- 网页端批量解析(支持抖音/TikTok混合解析)
- Batch analysis on the web page (supports Douyin/TikTok mixed analysis)
- Download videos or photo albums online.
- make[pip package](https://pypi.org/project/douyin-tiktok-scraper/)Conveniently and quickly import your projects
- [iOS shortcut commands to quickly call API](https://apps.apple.com/cn/app/%E5%BF%AB%E6%8D%B7%E6%8C%87%E4%BB%A4/id915249334)Achieve in-app download of watermark-free videos/photo albums
Expand Down Expand Up @@ -159,7 +159,7 @@ _Download prohibited videos, perform data analysis, download without watermark o
- [x] Get user homepage work data
- [x] Obtain the data of works liked by the user's homepage
- [x] Get user homepage information
- [x] Get fan data on user homepage
- [x] Get user homepage fan data
- [x] Get user homepage follow data
- [x] Get user homepage collection work data
- [x] Get user homepage collection data
Expand All @@ -169,7 +169,7 @@ _Download prohibited videos, perform data analysis, download without watermark o
- [x] Generate msToken
- [x] Generate ttwid
- [x] Generate X-Bogus parameters using interface URL
- [x] Extract a single user sec_user_id
- [x] 提取单个用户sec_user_id
- [x] Extract list user sec_user_id
- [x] Extract a single work id
- [x] Extract list work id
Expand Down Expand Up @@ -201,7 +201,7 @@ asyncio.run(hybrid_parsing(url=input("Paste Douyin/TikTok/Bilibili share URL her

## 🗺️Supported submission formats:

> 💡Tip: Including but not limited to the following examples. If you encounter link parsing failure, please open a new one.[issue](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues)
> 💡Tip: Including but not limited to the following examples, if you encounter link parsing failure, please open a new one[issue](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues)
- Douyin sharing password (copy in APP)

Expand Down Expand Up @@ -263,7 +263,7 @@ Online:<https://api.douyin.wtf/docs>
- Crawl video data (TikTok or Douyin hybrid analysis)`https://api.douyin.wtf/api/hybrid/video_data?url=[视频链接/Video URL]&minimal=false`
- Download videos/photo albums (TikTok or Douyin hybrid analysis)`https://api.douyin.wtf/api/download?url=[视频链接/Video URL]&prefix=true&with_watermark=false`

**_For more demonstrations, please see the documentation..._**
**_For more demonstrations, please view the document content..._**

## 💻Deployment (Method 1 Linux)

Expand Down Expand Up @@ -294,7 +294,7 @@ 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`

Expand Down Expand Up @@ -337,7 +337,7 @@ Each part of this command does the following:
- `-p 80:80`: Map port 80 on the host to port 80 of the container. Adjust the port number based on your configuration or port availability.
- `evil0ctal/douyin_tiktok_download_api`: The name of the Docker image to use.

### 步骤3:验证容器是否运行
### Step 3: Verify the container is running

Check if your container is running using the following command:

Expand Down Expand Up @@ -367,15 +367,15 @@ docker run -d --name douyin_tiktok_api -p 80:80 \

### Configuration file modification

Most of the project configuration can be found in the following directories:`config.yaml`File modification:
Most of the configuration of the project can be found in the following directories:`config.yaml`File modification:

- `/crawlers/douyin/web/config.yaml`
- `/crawlers/tiktok/web/config.yaml`
- `/crawlers/tiktok/app/config.yaml`

### Step 5: Stop and remove the container

When you need to stop and remove containers, use the following commands:
When you need to stop and remove a container, use the following commands:

```bash
# Stop
Expand Down

0 comments on commit 61ec8bb

Please sign in to comment.