From 076814022fa320203cc6d4624c003050a77b1fda Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 22 May 2023 17:57:58 +0300 Subject: [PATCH] minor fix --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index ccec86227..b617aff25 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -181,6 +181,6 @@ numbered_list_regex = re.compile('((\s|^)[0-9]+)\. ', flags=re.A) comment_link_regex = re.compile("/[0-9]+$", flags=re.A) -image_link_regex = re.compile(f"https://(i\.)?{SITE}\/(chat_)?images\/[0-9]{{11,17}}\.webp", flags=re.A) +image_link_regex = re.compile(f"https://(i\.)?{SITE}\/(chat_)?images\/[0-9]{{11,17}}r?\.webp", flags=re.A) video_link_regex = re.compile(f"https://(video\.)?{SITE}\/videos\/[0-9]{{11,17}}\.({video_regex_extensions})", flags=re.A)