forked from MarseyWorld/MarseyWorld
fix videos2 in /admin/delete_media
parent
b6a07e792e
commit
19e81a3214
|
@ -190,7 +190,7 @@ numbered_list_regex = re.compile('((\n|^)[> ]*[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-9a-zA-Z._-]{{4,66}}\.({video_regex_extensions})", flags=re.A)
|
||||
video_link_regex = re.compile(f"https://(videos2?\.)?{SITE}\/(videos\/)?[0-9a-zA-Z._-]{{4,66}}\.({video_regex_extensions})", flags=re.A)
|
||||
|
||||
asset_image_link_regex = re.compile(f"https:\/\/(i\.)?{SITE}\/assets\/images\/[\w\/]+.webp(\?x=\d+)?", flags=re.A)
|
||||
|
||||
|
|
Loading…
Reference in New Issue