Hotfix: Remove mobile subdomain for invidious redirect

See #151
pull/155/head
Ben Busby 4 years ago
parent 0afd59056f
commit 2d0823b012
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2

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

Loading…
Cancel
Save