mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-21 16:40:19 +08:00
🧨 #3 Fix TikTok Parse
This commit is contained in:
parent
a3cfaf6f69
commit
bfc0dbbecb
@ -55,7 +55,7 @@ def valid_check(kou_ling):
|
||||
return None
|
||||
else:
|
||||
return 'Please make sure that the input links are all valid Douyin/TikTok links!'
|
||||
elif kou_ling == 'wyn' or 'WYN':
|
||||
elif kou_ling == 'wyn':
|
||||
return None
|
||||
else:
|
||||
return 'Douyin or TikTok share link is wrong!'
|
||||
@ -490,7 +490,8 @@ def main():
|
||||
placeholder=placeholder,
|
||||
position=0)
|
||||
if kou_ling:
|
||||
if 'wyn' or 'WYN' in kou_ling:
|
||||
if kou_ling == 'wyn':
|
||||
# really miss you
|
||||
with popup('For WYN💖'):
|
||||
put_text('常见朋友们发一些浪漫的文案。')
|
||||
put_text('我想,')
|
||||
|
Loading…
x
Reference in New Issue
Block a user