Fix Redirect Dominio

This commit is contained in:
Alhaziel01
2022-04-20 19:16:08 +02:00
parent 9e3f74f453
commit 6aabebb232

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