Skip to content

Commit f6c32d8

Browse files
docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme
1 parent f12de63 commit f6c32d8

File tree

1 file changed

+28
-12
lines changed

1 file changed

+28
-12
lines changed

README.en.md

+28-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
# tkhub_pp([API.TikHub.io](https://api.tikhub.io/docs))
1+
<div align="center">
22

3-
[API.TikHub.io](https://api.tikhub.io/docs), is an asynchronous high-performance Douyin and TikTok data crawling tool. This Repo is a PyPi package based on this API, which is convenient for developers to call.
3+
# [tikhub_pp](https://pypi.org/project/tikhub)
4+
5+
[api.tikhub.io](https://api.tikhub.io/docs)", is an asynchronous high-performance Douyin and TikTok data crawling online tool. This repo is a package based on this API, which is convenient for developers to call.
6+
7+
Pee:<https://pypi.org/project/tikhub>
8+
9+
[English](./README.en.md)\|[Simplified Chinese](./README.md)
10+
11+
</div>
412

513
## note
614

715
> This project uses the following Emoji to indicate the development status in the development chart!
816
9-
| Emoji | representative meaning |
10-
| :---: | :-----------------------------------------------------------------------------------------------------------------: |
11-
| 🚀 | Rocket - The feature is written, tested, and deployed to production. |
12-
|| Checkmark - The feature is written but has yet to be tested and will be deployed to production once the tests pass. |
13-
|| Cross sign - The feature has not yet been written or has not been written yet. |
14-
| 🔜 | SOON BREAK - Feature proposed but not yet assigned a designated developer. |
15-
| ⚠️ | Warning symbol - There is a problem with the function that needs to be fixed. |
17+
| Emoji | representative meaning |
18+
| :---: | :-------------------------------------------------------------------------------------------------------------------: |
19+
| 🚀 | Rocket - The feature is written, tested, and deployed to production. |
20+
|| Check mark - the feature is written, but has yet to be tested and will be deployed to production once the tests pass. |
21+
|| Cross sign - Feature has not yet been written or has not been written yet. |
22+
| 🔜 | SOON符 - 功能已提出但尚未分配指定开发人员。 |
23+
| ⚠️ | Warning symbol - There is a problem with the function that needs to be fixed. |
1624

1725
## project progress
1826

@@ -41,11 +49,11 @@
4149
| 🚀 | `/douyin_profile_videos/` | Crawl user homepage video data | no known issues |
4250
| 🚀 | `/douyin_profile_liked_videos/` | Crawl the user homepage has liked the video data | no known issues |
4351

44-
> Production deployment of TikTok-related interfaces - API tags: TikTok
52+
> Production and deployment of TikTok-related interfaces - API tags: TikTok
4553
4654
| state | API endpoint path | Function | issue |
4755
| :---: | :-----------------------------: | :----------------------------------------------: | :-------------: |
48-
| 🚀 | `/tiktok_video_data/` | Crawl a single video data | no known issues |
56+
| 🚀 | `/tiktok_video_data/` | Crawl a single video data | 无已知问题 |
4957
| 🚀 | `/tiktok_video_comments/` | Crawl a single video comment data | no known issues |
5058
| 🚀 | `/tiktok_music_videos/` | Crawl the soundtrack data | no known issues |
5159
| 🚀 | `/tiktok_profile_videos/` | Crawl user homepage video data | no known issues |
@@ -58,7 +66,14 @@
5866

5967
## Example of use
6068

69+
> Check[demo.py](https://github.com/TikHubIO/TikHub_PyPi/blob/main/demo/demo.py)
70+
6171
```python
72+
import asyncio
73+
import time
74+
75+
from tikhub.api import API
76+
6277
async def async_test() -> None:
6378
# 异步测试/Async test
6479

@@ -68,7 +83,7 @@ async def async_test() -> None:
6883

6984
douyin_url = 'https://www.douyin.com/video/7153585499477757192'
7085

71-
douyin_user_url = 'https://www.douyin.com/user/MS4wLjABAAAA-Hu1YKTuhE3QkCHD5yU26k--RUZiaoMRtpfmeid-Z_o'
86+
douyin_user_url = 'https://www.douyin.com/user/MS4wLjABAAAAaNJuvXC83kL5nhaZHubKdjsRJQovgz58wXzlLnJUsslG-Kb24TM1QJlf_2HMaUJk'
7287

7388
print("Test start...\n")
7489
start_time = time.time()
@@ -121,6 +136,7 @@ async def async_test() -> None:
121136
# 获取用户主页的所有点赞视频数据/Get all liked video data on the user's homepage
122137
print("Running test : API.get_douyin_profile_liked_videos()")
123138
aweme_list = await api.get_douyin_profile_liked_videos(douyin_user_url, 20)
139+
print(f'Get {len(aweme_list)} liked videos from profile')
124140

125141
# 总耗时/Total time
126142
total_time = round(time.time() - start_time, 2)

0 commit comments

Comments
 (0)