Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -72,7 +72,7 @@ def is_tiktok_url(url):
|
|
72 |
|
73 |
@client.on_message(filters.command(["tt"]) & (filters.private | filters.group))
|
74 |
async def tiktok_downloader(client: Client, message: Message):
|
75 |
-
query_url = message.text.split(" ", 1)[1] if len(message.command) > 1 else None
|
76 |
if not query_url:
|
77 |
return await message.reply_text("?")
|
78 |
if not is_tiktok_url(query_url):
|
|
|
72 |
|
73 |
@client.on_message(filters.command(["tt"]) & (filters.private | filters.group))
|
74 |
async def tiktok_downloader(client: Client, message: Message):
|
75 |
+
query_url = message.text.split(" ", 1)[1] if len(message.command) > 1 else None
|
76 |
if not query_url:
|
77 |
return await message.reply_text("?")
|
78 |
if not is_tiktok_url(query_url):
|