Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -66,7 +66,7 @@ async def callback_button(client: Client, cb: CallbackQuery):
|
|
66 |
|
67 |
def is_tiktok_url(url):
|
68 |
pattern = r"(https?)://(vt|www)\.tiktok\.com/(\w+)"
|
69 |
-
match = re.search(pattern,
|
70 |
return bool(match)
|
71 |
|
72 |
@client.on_message(filters.text & filters.private)
|
|
|
66 |
|
67 |
def is_tiktok_url(url):
|
68 |
pattern = r"(https?)://(vt|www)\.tiktok\.com/(\w+)"
|
69 |
+
match = re.search(pattern, url)
|
70 |
return bool(match)
|
71 |
|
72 |
@client.on_message(filters.text & filters.private)
|