Skip to content

Commit 4ae21cb

Browse files
authored
Update README.md
1 parent f10a783 commit 4ae21cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pip install tikhub
4141
``` python
4242
from tikhub import TikTokAPI, DouyinAPI
4343

44-
token = input('Please enter your TikTok token: ')
44+
token = "请在此填写您的token/秘钥"
4545
tiktok_api = TikTokAPI(token)
4646
douyin_api = DouyinAPI(token)
4747

@@ -51,10 +51,11 @@ douyin_api = DouyinAPI(token)
5151

5252
``` python
5353
import asyncio
54+
5455
from tikhub import TikTokAPI, DouyinAPI
5556

5657
if __name__ == '__main__':
57-
token = input('Please enter your TikTok token: ')
58+
token ="请在此填写您的token/秘钥"
5859

5960
tiktok_api = TikTokAPI(token)
6061
douyin_api = DouyinAPI(token)

0 commit comments

Comments
 (0)