diff --git a/channels.json b/channels.json index 0db9d177..7b08a023 100644 --- a/channels.json +++ b/channels.json @@ -1,7 +1,7 @@ { "altadefinizione01": "https://altadefinizione01.photo", "altadefinizione01_link": "https://altadefinizione01.kim", - "altadefinizioneclick": "https://altadefinizione.style", + "altadefinizioneclick": "https://altadefinizione.rocks", "animeforce": "https://ww1.animeforce.org", "animeleggendari": "https://animepertutti.com", "animesaturn": "https://www.animesaturn.com", @@ -10,33 +10,36 @@ "animetubeita": "http://www.animetubeita.com", "animeunity": "https://www.animeunity.it", "animeworld": "https://www.animeworld.tv", - "casacinema": "https://www.casacinema.bid", - "casacinemaInfo": "https://casacinema.blue", - "cb01anime": "https://www.cineblog01.ink", + "casacinema": "https://www.casacinema.me", + "casacinemaInfo": "https://casacinema.life", + "cineblog01": "https://cb01.expert", + "cb01anime": "https://www.cineblog01.network", + "cinemalibero": "https://www.cinemalibero.plus", "cinetecadibologna": "http://cinestore.cinetecadibologna.it", "dreamsub": "https://dreamsub.stream", "dsda": "https://www.dsda.press/", "fastsubita": "https://fastsubita.online", "filmgratis": "https://www.filmaltadefinizione.tv", "filmigratis": "https://filmigratis.org", - "filmsenzalimiticc": "https://www.filmsenzalimiti.website", + "filmsenzalimiticc": "https://www.filmsenzalimiti.cafe", "filmstreaming01": "https://filmstreaming01.com", "guardaserie_stream": "https://guardaserie.store", "guardaserieclick": "https://www.guardaserie.productions", + "hd4me": "https://hd4me.net", "ilgeniodellostreaming": "https://ilgeniodellostreaming.pl", "italiaserie": "https://italiaserie.org", "mondoserietv": "https://mondoserietv.com", "netfreex": "https://www.netfreex.pro", - "piratestreaming": "https://www.piratestreaming.group", + "piratestreaming": "https://www.piratestreaming.online", "polpotv": "https://polpotv.club", "pufimovies": "https://pufimovies.com", "raiplay": "https://www.raiplay.it", - "seriehd": "https://seriehd.life", + "seriehd": "https://seriehd.digital", "serietvonline": "https://serietvonline.casa", "serietvsubita": "http://serietvsubita.xyz", "serietvu": "https://www.serietvu.link", "streamtime": "https://t.me/s/StreamTime", - "tantifilm": "https://www.tantifilm.eu", + "tantifilm": "https://www.tantifilm.vip", "toonitalia": "https://toonitalia.org", "vedohd": "https://vedohd.uno", "vvvvid": "https://www.vvvvid.it" diff --git a/channels/cineblog01.py b/channels/cineblog01.py index 472c1404..0af05ee8 100644 --- a/channels/cineblog01.py +++ b/channels/cineblog01.py @@ -11,16 +11,16 @@ from lib import unshortenit from platformcode import logger, config -def findhost(): - permUrl = httptools.downloadpage('https://www.cb01.uno/', follow_redirects=False).headers - if 'google' in permUrl['location']: - host = permUrl['location'].replace('https://www.google.it/search?q=site:', '') - else: - host = permUrl['location'] - return host +# def findhost(): +# permUrl = httptools.downloadpage('https://cb01-nuovo-indirizzo.info/', follow_redirects=False, only_headers=True).headers +# if 'google' in permUrl['location']: +# host = permUrl['location'].replace('https://www.google.it/search?q=site:', '') +# else: +# host = permUrl['location'] +# return host -host = config.get_channel_url(findhost) +host = config.get_channel_url() headers = [['Referer', host]] list_servers = ['mixdrop', 'akstream', 'wstream', 'backin'] @@ -47,7 +47,7 @@ def mainlist(item): ('Ultime Aggiornate', ['/serietv/', 'peliculas', 'newest']) ] docu = [('Documentari bullet bold', ['/category/documentario/', 'peliculas']), - ('HD submenu', ['category/hd-alta-definizione/documentario-hd/', 'peliculas']) + ('HD submenu {documentari}', ['category/hd-alta-definizione/documentario-hd/', 'peliculas']) ] return locals() @@ -152,7 +152,7 @@ def peliculas(item): action = 'findvideos' else: # debug = True - patron = r'div class="card-image">.*?(?P.*?)(?P<lang>(?:[Ss][Uu][Bb]-)?[Ii][Tt][Aa])?<\/a>.*?(?:<strong><span style="[^"]+">(?P<genre>[^<>0-9(]+)\((?P<year>[0-9]{4}).*?</(?:p|div)>(?P<plot>.*?))?</div' + patron = r'div class="card-image">.*?<img src="(?P<thumb>[^ ]+)" alt.*?<a href="(?P<url>[^ >]+)">(?P<title>.*?)(?: – (?:[SS]tagione \d|\d).*?)?(?P<lang>(?:[Ss][Uu][Bb]-)?[Ii][Tt][Aa])?<\/a>.*?(?:<strong><span style="[^"]+">(?P<genre>[^<>0-9(]+)\((?P<year>[0-9]{4}).*?</(?:p|div)>(?P<plot>.*?))?</div' action = 'episodios' item.contentType = 'tvshow' diff --git a/core/httptools.py b/core/httptools.py index 0e94d526..dd742879 100755 --- a/core/httptools.py +++ b/core/httptools.py @@ -42,7 +42,7 @@ if HTTPTOOLS_DEFAULT_DOWNLOAD_TIMEOUT == 0: HTTPTOOLS_DEFAULT_DOWNLOAD_TIMEOUT = HTTPTOOLS_DEFAULT_RANDOM_HEADERS = False domainCF = list() -channelsCF = ['guardaserieclick', 'casacinema', 'dreamsub', 'ilgeniodellostreaming', 'piratestreaming', 'altadefinizioneclick', 'altadefinizione01_link'] +channelsCF = ['guardaserieclick', 'casacinema', 'dreamsub', 'ilgeniodellostreaming', 'piratestreaming', 'altadefinizioneclick', 'altadefinizione01_link', 'cineblog01'] otherCF = ['altadefinizione-nuovo.link', 'wstream.video', 'akvideo.stream', 'backin.net', 'vcrypt.net'] for ch in channelsCF: domainCF.append(urlparse.urlparse(config.get_channel_url(name=ch)).hostname)