Fix Altadefinizione, casacinema e filmpertutti, streamsb. Nuovo dominio toonitalia.xyz (non ha sottosezioni)

This commit is contained in:
marco
2023-03-20 19:52:06 +01:00
parent 8a048464a4
commit fdfa364943
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
"streamingcommunity": "https://streamingcommunity.bike", "streamingcommunity": "https://streamingcommunity.bike",
"streamingita": "https://www.streamingita.best", "streamingita": "https://www.streamingita.best",
"tantifilm": "https://www.tantifilm.email", "tantifilm": "https://www.tantifilm.email",
"toonitalia": "https://www.highrevenuecpmnetwork.com/wcyzb745dr?key=40bb080842ac70224c0a6030e209f1cc" "toonitalia": "https://toonitalia.xyz/"
}, },
"findhost": { "findhost": {
"altadefinizione": "https://altadefinizione.nuovo.live", "altadefinizione": "https://altadefinizione.nuovo.live",
+6 -6
View File
@@ -13,12 +13,12 @@ headers = [['Referer', host]]
@support.menu @support.menu
def mainlist(item): def mainlist(item):
top = [('Novità',['', 'peliculas', 'new', 'tvshow']), # top = [('Novità',['', 'peliculas', 'new', 'tvshow']),
('Aggiornamenti', ['', 'peliculas', 'last', 'tvshow'])] # ('Aggiornamenti', ['', 'peliculas', 'last', 'tvshow'])]
tvshow = ['/category/serie-tv/'] # tvshow = ['/category/serie-tv/']
anime =['/category/anime/', anime =['/category/anime/']
('Sub-Ita',['/category/anime-sub-ita/', 'peliculas', 'sub']), # ('Sub-Ita',['/category/anime-sub-ita/', 'peliculas', 'sub']),
('Film Animati',['/category/film-animazione/','peliculas', '', 'movie'])] # ('Film Animati',['/category/film-animazione/','peliculas', '', 'movie'])]
search = '' search = ''
return locals() return locals()
+2 -2
View File
@@ -45,9 +45,9 @@ class UnshortenIt(object):
_protectlink_regex = r'(?:s\.)?protectlink\.stream' _protectlink_regex = r'(?:s\.)?protectlink\.stream'
_uprot_regex = r'uprot\.net' _uprot_regex = r'uprot\.net'
# for services that only include real link inside iframe # for services that only include real link inside iframe
_simple_iframe_regex = r'cryptmango|xshield\.net|vcrypt\.club|isecure\.link|isecure\.icu|isecure\.cfd' _simple_iframe_regex = r'cryptmango|xshield\.net|vcrypt\.club|isecure\.[a-z]+'
# for services that only do redirects # for services that only do redirects
_simple_redirect = r'streamcrypt\.net/[^/]+|is\.gd|www\.vedere\.stream|isecure\.link|isecure\.icu' _simple_redirect = r'streamcrypt\.net/[^/]+|is\.gd|www\.vedere\.stream'
_filecrypt_regex = r'filecrypt\.cc' _filecrypt_regex = r'filecrypt\.cc'
listRegex = [_adfly_regex, _linkbucks_regex, _adfocus_regex, _lnxlu_regex, _shst_regex, _hrefli_regex, _anonymz_regex, listRegex = [_adfly_regex, _linkbucks_regex, _adfocus_regex, _lnxlu_regex, _shst_regex, _hrefli_regex, _anonymz_regex,
+1 -1
View File
@@ -9,7 +9,7 @@ def get_sources(page_url):
rand1 = "".join([random.choice(string.ascii_letters) for y in range(12)]) rand1 = "".join([random.choice(string.ascii_letters) for y in range(12)])
rand2 = "".join([random.choice(string.ascii_letters) for y in range(12)]) rand2 = "".join([random.choice(string.ascii_letters) for y in range(12)])
_0x470d0b = '{}||{}||{}||streamsb'.format(rand1, code, rand2) _0x470d0b = '{}||{}||{}||streamsb'.format(rand1, code, rand2)
sources = 'https://streamas.cloud/sources51/' + codecs.getencoder('hex')(_0x470d0b.encode())[0].decode() sources = 'https://streamas.cloud/sources15/' + codecs.getencoder('hex')(_0x470d0b.encode())[0].decode()
# does not lite other headers different than watchsb and useragent # does not lite other headers different than watchsb and useragent
ret = httptools.downloadpage(sources, headers={'watchsb': 'sbstream', 'User-Agent': httptools.get_user_agent()}, replace_headers=True).json ret = httptools.downloadpage(sources, headers={'watchsb': 'sbstream', 'User-Agent': httptools.get_user_agent()}, replace_headers=True).json
logger.debug(ret) logger.debug(ret)