From f1288ba9918dc37c664914b7c722c668bc6243a6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 15 Nov 2022 17:29:42 +0200 Subject: [PATCH] fix https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3080531?context=8#context --- files/helpers/sanitize.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 524dd6397..3cb7fb2bf 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -352,8 +352,6 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys sanitized = sanitized.replace('&','&') - if "https://youtube.com/watch?v=" in sanitized: sanitized = sanitized.replace("?t=", "&t=") - captured = [] for i in youtube_regex.finditer(sanitized): if i.group(0) in captured: continue