fix cinemalibero

This commit is contained in:
marco
2020-01-17 19:36:34 +01:00
parent 14a4901808
commit 05e7591218
2 changed files with 6 additions and 3 deletions
+5 -1
View File
@@ -12,7 +12,11 @@ from platformcode import config
list_servers = ['akstream', 'wstream', 'backin', 'clipwatching', 'cloudvideo', 'verystream', 'onlystream', 'mixdrop']
list_quality = ['default']
host = config.get_channel_url()
def findhost():
permUrl = httptools.downloadpage('https://www.cinemalibero.online/', follow_redirects=False).headers
return 'https://www.' + permUrl['location'].replace('https://www.google.com/search?q=site:', '')
host = config.get_channel_url(findhost)
headers = [['Referer', host]]
@support.menu