Account for imgur.io

This commit is contained in:
Butter Cat 2023-11-13 20:32:22 -05:00
parent 8670a71c30
commit 8a741f4d5f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ let
# Images aren't supported due to errors from Teddit when the image
# wasn't first displayed via a post on the Teddit instance.
imgurRegex = re"((i|i.stack)\.)?imgur.com"
imgurRegex = re"((i|i.stack)\.)?imgur.(com|io)"
wwwRegex = re"https?://(www[0-9]?\.)?"
m3u8Regex = re"""url="(.+.m3u8)""""