update video_link_regex to work with the new imported videos

master
Aevann 2023-07-29 03:03:29 +03:00
parent ff6cfcaa38
commit f67526de1b
1 changed files with 1 additions and 1 deletions

View File

@ -231,4 +231,4 @@ 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}}r?\.webp", flags=re.A)
video_link_regex = re.compile(f"https://(videos\.)?{SITE}\/(videos\/)?[0-9]{{11,17}}\.({video_regex_extensions})", flags=re.A)
video_link_regex = re.compile(f"https://(videos\.)?{SITE}\/(videos\/)?[0-9a-zA-Z._-]{{11,17}}\.({video_regex_extensions})", flags=re.A)