diff --git a/channels.json b/channels.json deleted file mode 100644 index 77b5ba1f..00000000 --- a/channels.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "altadefinizione01": "https://www.altadefinizione01.tel", - "altadefinizione01_link": "https://altadefinizione01.date", - "animeforce": "https://ww1.animeforce.org", - "animeleggendari": "https://animepertutti.com", - "animespace": "https://animespace.tv", - "animestream": "https://www.animeworld.it", - "animesubita": "http://www.animesubita.org", - "animetubeita": "http://www.animetubeita.com", - "animeworld": "https://www1.animeworld.tv", - "casacinema": "https://www.casacinema.cloud", - "casacinemaInfo": "https://casacinema.space", - "cb01anime": "https://www.cineblog01.ink", - "cinemalibero": "https://www.cinemalibero.live", - "cinetecadibologna" : "http://cinestore.cinetecadibologna.it", - "documentaristreamingda": "https://documentari-streaming-da.com", - "dreamsub": "https://www.dreamsub.stream", - "fastsubita": "https://fastsubita.com", - "filmgratis": "https://www.filmaltadefinizione.org", - "filmigratis": "https://filmigratis.org", - "filmpertutti": "https://www.filmpertutti.casa", - "filmsenzalimiticc": "https://www.filmsenzalimiti.monster", - "filmstreaming01": "https://filmstreaming01.com", - "guardarefilm": "https://www.guardarefilm.red", - "guardaserie_stream": "https://guardaserie.co", - "guardaserieclick": "https://www.guardaserie.media", - "ilgeniodellostreaming": "https://igds.red", - "italiaserie": "https://italiaserie.org", - "mondoserietv": "https://mondoserietv.com", - "netfreex": "https://www.netfreex.online", - "piratestreaming": "https://www.piratestreaming.gratis", - "polpotv": "https://polpo.tv", - "seriehd": "https://www.seriehd.watch", - "serietvonline": "https://serietvonline.monster", - "serietvsubita": "http://serietvsubita.xyz", - "serietvu": "https://www.serietvu.link", - "streamingaltadefinizione": "https://www.popcornstream.best", - "streamtime": "https://t.me/s/StreamTime", - "tantifilm": "https://www.tantifilm.eu", - "toonitalia": "https://toonitalia.org", - "vedohd": "https://vedohd.video", - "vvvvid": "https://www.vvvvid.it" -} \ No newline at end of file diff --git a/channels/animespace.json b/channels/animespace.json index 4a7f4084..26fafae6 100644 --- a/channels/animespace.json +++ b/channels/animespace.json @@ -1,7 +1,7 @@ { "id": "animespace", "name": "AnimeSpace", - "active": true, + "active": false, "adult": false, "language": [], "thumbnail": "", diff --git a/core/httptools.py b/core/httptools.py index 2742c9f9..526b555e 100755 --- a/core/httptools.py +++ b/core/httptools.py @@ -269,7 +269,6 @@ def downloadpage(url, **opt): session.mount('https://', resolverdns.CipherSuiteAdapter(domain, CF)) req_headers = default_headers.copy() - verify = opt.get('verify', True) # Headers passed as parameters if opt.get('headers', None) is not None: @@ -291,7 +290,7 @@ def downloadpage(url, **opt): files = {} file_name = '' - session.verify = opt.get('verify', verify) + session.verify = opt.get('verify', True) if opt.get('cookies', True): session.cookies = cj diff --git a/servers/akstream.py b/servers/akstream.py index 4c13701b..72fb5ddb 100644 --- a/servers/akstream.py +++ b/servers/akstream.py @@ -10,19 +10,18 @@ from platformcode import logger, config def test_video_exists(page_url): logger.info("(page_url='%s')" % page_url) + global data + data = httptools.downloadpage(page_url).data + if "File Not Found" in data: + return False, config.get_localized_string(70449) % "Akvideo" return True, "" - # data = httptools.downloadpage(page_url).data - # if "File was deleted" in data or "Page Cannot Be Found" in data: - # return False, config.get_localized_string(70449) % "Akvideo" - # return True, "" def get_video_url(page_url, premium=False, user="", password="", video_password=""): logger.info(" url=" + page_url) video_urls = [] - data = httptools.downloadpage(page_url).data.replace('https','http') - + global data vres = scrapertools.find_multiple_matches(data, 'nowrap[^>]+>([^,]+)') data_pack = scrapertools.find_single_match(data, "\n\s*]+>(eval.function.p,a,c,k,e,.*?)\s*") if data_pack != "":