From 5549588e7f815d235b6018321b3c16fc57560cd3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 11 Dec 2021 19:53:06 +0200 Subject: [PATCH] fsdsdf --- files/helpers/sanitize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index cead16499..bf286cec4 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -205,7 +205,7 @@ def sanitize(sanitized, noimages=False): for i in re.finditer('" target="_blank">(https://youtube\.com/watch\?v\=(.*?))', sanitized): url = i.group(1) yt_id = i.group(2).split('&')[0].split('%')[0] - replacing = f'{url}' + replacing = f'{url}' params = parse_qs(urlparse(url.replace('&','&')).query) t = params.get('t', params.get('start', [0]))[0]