fix seriehd

This commit is contained in:
marco
2020-03-25 18:52:11 +01:00
parent c4b2797ea8
commit 5e9b647b3c
2 changed files with 1 additions and 2 deletions

View File

@@ -5,7 +5,6 @@
from core import support
from core.item import Item
host = support.config.get_channel_url()
headers = [['Referer', host]]

View File

@@ -61,7 +61,7 @@ def hdpass_get_servers(item):
url = url.replace("&download=1", "")
if 'hdpass' not in url and 'hdplayer' not in url:
return itemlist
if 'https' not in url:
if 'http' not in url:
url = 'https:' + url
data = httptools.downloadpage(url).data