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