Fix Redirect Dominio

This commit is contained in:
Alhaziel01
2022-04-20 19:16:08 +02:00
parent ea2aa8c95b
commit 3593d8b316

View File

@@ -130,6 +130,7 @@ def get_channel_url(findhostMethod=None, name=None, forceFindhost=False):
return url
else:
url = httptools.downloadpage(channels_data['direct'][name], follow_redirects=True, only_headers=True).url
if url.endswith('/'): url = url[:-1]
return url