remotes/1693045480750635534/spooky-22
Aevann1 2021-10-10 07:56:42 +02:00
parent d0a3565997
commit 060b1734bc
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ def sanitize(sanitized, noimages=False):
print('\n\n')
sanitized = sanitized.replace("\ufeff", "").replace("m.youtube.com", "youtube.com")
sanitized = re.sub("</blockquote>$", "</blockquote><pre></pre>", sanitized)
sanitized = re.sub("^</blockquote>", "<pre></pre></blockquote>", sanitized)
print(sanitized)
for i in re.finditer('https://i.imgur.com/(([^_]*?)\.(jpg|png|jpeg))', sanitized):