diff --git a/channels/cineblog01.py b/channels/cineblog01.py index 0881884a..e9952a7b 100644 --- a/channels/cineblog01.py +++ b/channels/cineblog01.py @@ -19,7 +19,9 @@ headers = "" def findhost(): global host, headers permUrl = httptools.downloadpage('https://www.cb01.uno/', follow_redirects=False).headers - host = 'https://www.'+permUrl['location'].replace('https://www.google.it/search?q=site:', '') + support.log('HOST= ',permUrl) + host = 'https://'+permUrl['location'].replace('https://www.google.it/search?q=site:', '') + support.log('HOST= ',host) headers = [['Referer', host]] IDIOMAS = {'Italiano': 'IT'} @@ -173,7 +175,7 @@ def last(item): def peliculas(item): support.log() if item.contentType == 'movie' or '/serietv/' not in item.url: - patron = r'
.*?]+)(?:\/|")>([^<[(]+)(?:\[([A-Za-z0-9/-]+)])? (?:\(([0-9]{4})\))?.*?([^<>&]+).*?DURATA ([0-9]+).*?([^<>]+)' + patron = r'
.*?]+)(?:\/|")>([^<[(]+)(?:\[([A-Za-z0-9/-]+)])? (?:\(([0-9]{4})\))?.*?([^<>&–]+).*?DURATA ([0-9]+).*?([^<>]+)' listGroups = ['thumb', 'url', 'title', 'quality', 'year', 'genre', 'duration', 'plot'] action = 'findvideos' else: