From 503f716b1f6801b37f1e8de5161d9b3244a828fa Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 17 Jan 2020 19:12:54 +0100 Subject: [PATCH 1/2] test fix override su kodi 16 --- specials/resolverdns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specials/resolverdns.py b/specials/resolverdns.py index 3f99eda2..7e2cc232 100644 --- a/specials/resolverdns.py +++ b/specials/resolverdns.py @@ -40,7 +40,7 @@ class CipherSuiteAdapter(host_header_ssl.HostHeaderSSLAdapter): def __init__(self, domain, CF=False, *args, **kwargs): self.conn = sql.connect(db) self.cur = self.conn.cursor() - self.ssl_context = CustomContext(ssl.PROTOCOL_TLS, domain) + self.ssl_context = CustomContext(ssl.PROTOCOL_SSLv23, domain) self.CF = CF # if cloudscrape is in action self.cipherSuite = kwargs.pop('cipherSuite', ssl._DEFAULT_CIPHERS) From 05e75912184e807f9e9739bfeba263f3356072e9 Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 17 Jan 2020 19:36:34 +0100 Subject: [PATCH 2/2] fix cinemalibero --- channels.json | 3 +-- channels/cinemalibero.py | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/channels.json b/channels.json index 5df090bb..bd5df542 100644 --- a/channels.json +++ b/channels.json @@ -10,8 +10,7 @@ "animeworld": "https://www.animeworld.cc", "casacinema": "https://www.casacinema.biz", "casacinemaInfo": "https://casacinema.kim", - "cb01anime": "https://www.cineblog01.ink", - "cinemalibero": "https://www.cinemalibero.live", + "cb01anime": "https://www.cineblog01.ink", "cinetecadibologna": "http://cinestore.cinetecadibologna.it", "documentaristreamingda": "https://documentari-streaming-da.com", "dreamsub": "https://dreamsub.stream", diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py index 01859ef6..a237bab1 100644 --- a/channels/cinemalibero.py +++ b/channels/cinemalibero.py @@ -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