dfsfds
This commit is contained in:
parent
e16a012b4d
commit
d10c6d2372
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ def sanitize(sanitized, noimages=False):
|
|||
|
||||
print(sanitized)
|
||||
print('\n\n')
|
||||
sanitized = sanitized.replace("\ufeff", "").replace("m.youtube.com", "youtube.com").replace("</blockquote></div>", "</blockquote></div><pre></pre>")
|
||||
sanitized = sanitized.replace("\ufeff", "").replace("m.youtube.com", "youtube.com")
|
||||
sanitized = re.sub("</blockquote>$", "</blockquote><pre></pre>", sanitized)
|
||||
print(sanitized)
|
||||
|
||||
for i in re.finditer('https://i.imgur.com/(([^_]*?)\.(jpg|png|jpeg))', sanitized):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue