fix prev commit

pull/217/head
Aevann 2023-11-15 00:24:21 +02:00
parent 995c2f2cc9
commit 093e75da94
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ def normalize_url(url):
netloc = 'youtube.com'
path = '/watch'
filtered |= {k: val for k, val in qd.items() if not val or is_whitelisted(netloc, k)}
filtered |= {k: val for k, val in qd.items() if not val[0] or is_whitelisted(netloc, k)}
if netloc == 'old.reddit.com' and reddit_comment_link_regex.fullmatch(url):
filtered['context'] = 8