1
0
mirror of https://github.com/benbusby/whoogle-search.git synced 2021-09-19 22:48:34 +03:00

Hotfix: Remove mobile subdomain for invidious redirect

See #151
This commit is contained in:
Ben Busby
2020-11-28 21:29:35 -05:00
parent 0afd59056f
commit 2d0823b012

View File

@@ -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):