diff --git a/channels.json b/channels.json index dedd4dbc..388897d6 100644 --- a/channels.json +++ b/channels.json @@ -30,7 +30,7 @@ "streamingcommunity": "https://streamingcommunity.bike", "streamingita": "https://www.streamingita.best", "tantifilm": "https://www.tantifilm.email", - "toonitalia": "https://www.highrevenuecpmnetwork.com/wcyzb745dr?key=40bb080842ac70224c0a6030e209f1cc" + "toonitalia": "https://toonitalia.xyz/" }, "findhost": { "altadefinizione": "https://altadefinizione.nuovo.live", diff --git a/channels/toonitalia.py b/channels/toonitalia.py index 76aac4e9..42771f74 100644 --- a/channels/toonitalia.py +++ b/channels/toonitalia.py @@ -13,12 +13,12 @@ headers = [['Referer', host]] @support.menu def mainlist(item): - top = [('Novità',['', 'peliculas', 'new', 'tvshow']), - ('Aggiornamenti', ['', 'peliculas', 'last', 'tvshow'])] - tvshow = ['/category/serie-tv/'] - anime =['/category/anime/', - ('Sub-Ita',['/category/anime-sub-ita/', 'peliculas', 'sub']), - ('Film Animati',['/category/film-animazione/','peliculas', '', 'movie'])] + # top = [('Novità',['', 'peliculas', 'new', 'tvshow']), + # ('Aggiornamenti', ['', 'peliculas', 'last', 'tvshow'])] + # tvshow = ['/category/serie-tv/'] + anime =['/category/anime/'] + # ('Sub-Ita',['/category/anime-sub-ita/', 'peliculas', 'sub']), + # ('Film Animati',['/category/film-animazione/','peliculas', '', 'movie'])] search = '' return locals() diff --git a/lib/unshortenit.py b/lib/unshortenit.py index a03b4a20..4c441686 100644 --- a/lib/unshortenit.py +++ b/lib/unshortenit.py @@ -45,9 +45,9 @@ class UnshortenIt(object): _protectlink_regex = r'(?:s\.)?protectlink\.stream' _uprot_regex = r'uprot\.net' # 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 - _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' listRegex = [_adfly_regex, _linkbucks_regex, _adfocus_regex, _lnxlu_regex, _shst_regex, _hrefli_regex, _anonymz_regex, diff --git a/servers/streamsb.py b/servers/streamsb.py index a5ac9015..bf68d658 100644 --- a/servers/streamsb.py +++ b/servers/streamsb.py @@ -9,7 +9,7 @@ def get_sources(page_url): rand1 = "".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) - 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 ret = httptools.downloadpage(sources, headers={'watchsb': 'sbstream', 'User-Agent': httptools.get_user_agent()}, replace_headers=True).json logger.debug(ret)