cb01 sotto cloudflare

This commit is contained in:
marco
2020-04-15 15:16:08 +02:00
parent a728fab273
commit a86b6615d6
3 changed files with 10 additions and 9 deletions

View File

@@ -12,6 +12,7 @@
"animeworld": "https://www.animeworld.tv",
"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",

View File

@@ -11,16 +11,16 @@ from lib import unshortenit
from platformcode import logger, config
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
# 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']

View File

@@ -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)