From 2d0823b012f4e9075f07183c74d8065ced87896a Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Sat, 28 Nov 2020 21:29:35 -0500 Subject: [PATCH] Hotfix: Remove mobile subdomain for invidious redirect See #151 --- app/utils/filter_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/filter_utils.py b/app/utils/filter_utils.py index 7ff99c6..ed6804c 100644 --- a/app/utils/filter_utils.py +++ b/app/utils/filter_utils.py @@ -43,7 +43,7 @@ def get_site_alt(link: str): link = link.replace(site_key, SITE_ALTS[site_key]) break - return link.replace('www.', '') + return link.replace('www.', '').replace('//m.', '//') def filter_link_args(query_link):