🧨 #3 Fix TikTok Parse

This commit is contained in:
Evil0ctal 2022-02-01 00:43:27 -08:00 committed by GitHub
parent a3cfaf6f69
commit bfc0dbbecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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('我想,')