From e5d8c12825674d8a6fe96fec446a86aa11f23881 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Thu, 22 Aug 2024 16:19:11 +0200 Subject: [PATCH] Update --- src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index 34d6749..7f8c18f 100644 --- a/src/main.py +++ b/src/main.py @@ -58,9 +58,9 @@ async def message_handler(message: types.Message): await message.answer('This is not a text message') return - tiktok_link = re.search(r'https://vt.tiktok.com/.+/', message.text) + tiktok_link = re.search(r'https://', message.text) if tiktok_link is None: - await message.answer('This is not a TikTok link') + await message.answer('This is not a link') return await message.answer('Downloading...')