Hotfix: Remove mobile subdomain for invidious redirect

See #151
main
Ben Busby 2020-11-28 21:29:35 -05:00
parent 0afd59056f
commit 2d0823b012
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def get_site_alt(link: str):
link = link.replace(site_key, SITE_ALTS[site_key]) link = link.replace(site_key, SITE_ALTS[site_key])
break break
return link.replace('www.', '') return link.replace('www.', '').replace('//m.', '//')
def filter_link_args(query_link): def filter_link_args(query_link):