master
Aevann1 2022-04-16 00:42:42 +02:00
parent 7047953ce7
commit 9c9b600afe
1 changed files with 0 additions and 1 deletions

View File

@ -160,7 +160,6 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
if "https://youtube.com/watch?v=" in sanitized: sanitized = sanitized.replace("?t=", "&t=")
captured = []
print(sanitized,flush=True)
for i in youtube_regex.finditer(sanitized):
if i.group(0) in captured: continue
captured.append(i.group(0))