From 969013a501177629a305b55f7eff6f8c010ff9be Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Dec 2021 04:05:29 +0200 Subject: [PATCH] sfdfsd --- files/helpers/sanitize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index fe743774b6..ead7cf741c 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -219,8 +219,7 @@ def sanitize(sanitized, noimages=False): yt_id = i.group(2).split('&')[0].split('%')[0] replacing = f'{url}' - print(url) - params = parse_qs(urlparse(url).query) + params = parse_qs(urlparse(url.replace('&','&')).query) t = params.get('t', params.get('start', [0]))[0] if isinstance(t, str): t = t.replace('s','')