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 2ecde83860
commit 8431fc5031
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2

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