From aeffad02a9c6ef5d89a5d8c2337894a819db7500 Mon Sep 17 00:00:00 2001 From: cttynul Date: Thu, 6 Jun 2019 17:21:27 +0200 Subject: [PATCH] updating json + dynimininininic chanels --- channels.json | 10 ++++++---- channels/altadefinizionehd.py | 3 ++- channels/animeforce.py | 3 ++- channels/animeleggendari.py | 3 ++- channels/animespace.py | 3 ++- channels/animesubita.py | 4 ++-- channels/animetubeita.py | 3 ++- channels/animeworld.py | 3 ++- channels/casacinema.py | 4 ++-- channels/casacinemaInfo.py | 4 ++-- channels/cb01anime.py | 4 ++-- channels/cinemalibero.py | 4 ++-- channels/cinemastreaming.py | 4 ++-- 13 files changed, 30 insertions(+), 22 deletions(-) diff --git a/channels.json b/channels.json index 53f1eb08..4a172b0e 100644 --- a/channels.json +++ b/channels.json @@ -3,20 +3,22 @@ "altadefinizione01_link": "http://altadefinizione01.link", "altadefinizione01": "https://altadefinizione01.to", "altadefinizioneclick": "https://altadefinizione.cloud", - - "altadefinizioneclub": "https://altadefinizione.cloud", - "altadefinizionehd": "https://altadefinizionehd.org", + "altadefinizionehd": "https://altadefinizione.doctor", "animeforge": "https://ww1.animeforce.org", "animeleggendari": "https://animepertutti.com", "animestream": "https://www.animeworld.it", + "animespace": "https://animespace.tv", "animesubita": "http://www.animesubita.org", "animetubeita": "http://www.animetubeita.com", "animevision": "https://www.animevision.it", "animeworld": "https://www.animeworld.it", "asiansubita": "http://asiansubita.altervista.org", "casacinema": "https://www.casacinema.site", - "cb01anime": "http://www.cineblog01.ink/anime/", + "casacinemainfo": "https://www.casacinema.info", + "cb01anime": "http://www.cineblog01.ink", "cineblog01": "https://cb01.tools", + "cinemalibero": "https://cinemalibero.icu", + "cinemastreaming": "https://cinemastreaming.icu", "documentaristreamingdb": "https://documentari-streaming-da.com", "downloadme": "https://www.downloadme.gratis", "dragonballforever": "https://www.dragonballforever.it", diff --git a/channels/altadefinizionehd.py b/channels/altadefinizionehd.py index 33693d4f..08757113 100644 --- a/channels/altadefinizionehd.py +++ b/channels/altadefinizionehd.py @@ -10,7 +10,8 @@ from core.item import Item from platformcode import logger, config from specials import autoplay -host = "https://altadefinizione.doctor" +__channel__ = 'altadefinizionehd' +host = config.get_channel_url(__channel__) headers = [['Referer', host]] diff --git a/channels/animeforce.py b/channels/animeforce.py index 4113f6c5..c38b6d1b 100644 --- a/channels/animeforce.py +++ b/channels/animeforce.py @@ -12,7 +12,8 @@ from core.item import Item from platformcode import config, logger from servers.decrypters import adfly -host = "https://ww1.animeforce.org" +__channel__ = "animeforge" +host = config.get_channel_url(__channel__) IDIOMAS = {'Italiano': 'IT'} list_language = IDIOMAS.values() diff --git a/channels/animeleggendari.py b/channels/animeleggendari.py index d193cc24..0a30683b 100644 --- a/channels/animeleggendari.py +++ b/channels/animeleggendari.py @@ -12,7 +12,8 @@ from lib.js2py.host import jsfunctions from platformcode import logger, config from specials import autoplay, autorenumber -host = "https://animepertutti.com" +__channel__ = "animeleggendari" +host = config.get_addon_version(__channel__) # Richiesto per Autoplay IDIOMAS = {'Italiano': 'IT'} diff --git a/channels/animespace.py b/channels/animespace.py index aa910a86..5f57479e 100644 --- a/channels/animespace.py +++ b/channels/animespace.py @@ -15,7 +15,8 @@ from platformcode import logger, config from specials import autoplay from specials import renumbertools -host = "https://animespace.tv/" +__channel__ = "animespace" +host = config.get_addon_version(__channel__) checklinks = config.get_setting('checklinks', 'animespace') checklinks_number = config.get_setting('checklinks_number', 'animespace') diff --git a/channels/animesubita.py b/channels/animesubita.py index 5559f58b..744d0365 100644 --- a/channels/animesubita.py +++ b/channels/animesubita.py @@ -13,8 +13,8 @@ from core import httptools, scrapertools, tmdb, support from core.item import Item from platformcode import logger, config -host = "http://www.animesubita.org" - +__channel__ = "animesubita" +host = config.get_addon_version(__channel__) PERPAGE = 20 # ---------------------------------------------------------------------------------------------------------------- diff --git a/channels/animetubeita.py b/channels/animetubeita.py index 817d77d7..55554e7e 100644 --- a/channels/animetubeita.py +++ b/channels/animetubeita.py @@ -10,7 +10,8 @@ from core import httptools, scrapertools, tmdb from core.item import Item from platformcode import logger, config -host = "http://www.animetubeita.com" +__channel__ = "animetubeita" +host = config.get_addon_version(__channel__) hostlista = host + "/lista-anime/" hostgeneri = host + "/generi/" hostcorso = host + "/category/serie-in-corso/" diff --git a/channels/animeworld.py b/channels/animeworld.py index a48a2e6e..c1814d7e 100644 --- a/channels/animeworld.py +++ b/channels/animeworld.py @@ -13,7 +13,8 @@ from core.item import Item from platformcode import logger, config from specials import autoplay, autorenumber -host = config.get_setting("channel_host", 'animeworld') +__channel__ = "animeworld" +host = config.get_addon_version(__channel__) headers = [['Referer', host]] IDIOMAS = {'Italiano': 'Italiano'} diff --git a/channels/casacinema.py b/channels/casacinema.py index 07d889de..54abcbf5 100644 --- a/channels/casacinema.py +++ b/channels/casacinema.py @@ -12,8 +12,8 @@ from core.item import Item from platformcode import logger, config from specials import autoplay -host = 'https://www.casacinema.site' - +__channel__ = "casacinema" +host = config.get_addon_version(__channel__) IDIOMAS = {'Italiano': 'IT'} list_language = IDIOMAS.values() list_servers = ['verystream', 'openload', 'wstream', 'speedvideo'] diff --git a/channels/casacinemaInfo.py b/channels/casacinemaInfo.py index c9c969ed..e9ee4a60 100644 --- a/channels/casacinemaInfo.py +++ b/channels/casacinemaInfo.py @@ -8,8 +8,8 @@ from core.item import Item from platformcode import logger, config from specials import autoplay -host = 'https://casacinema.info' - +__channel__ = "casacinemainfo" +host = config.get_addon_version(__channel__) IDIOMAS = {'Italiano': 'IT'} list_language = IDIOMAS.values() list_servers = ['verystream', 'openload', 'wstream', 'speedvideo'] diff --git a/channels/cb01anime.py b/channels/cb01anime.py index f68fbe6f..b1a485f1 100644 --- a/channels/cb01anime.py +++ b/channels/cb01anime.py @@ -10,8 +10,8 @@ from core import httptools, scrapertools, servertools, tmdb from core.item import Item from platformcode import logger, config -host = "https://www.cineblog01.pink" - +__channel__ = "cb01anime" +host = config.get_addon_version(__channel__) #esclusione degli articoli 'di servizio' blacklist = ['AVVISO IMPORTANTE – CB01.ROCKS', 'Lista Alfabetica Completa Anime/Cartoon', 'CB01.UNO ▶ TROVA L’INDIRIZZO UFFICIALE'] diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py index 2709560f..7f60fcb8 100644 --- a/channels/cinemalibero.py +++ b/channels/cinemalibero.py @@ -22,8 +22,8 @@ list_quality = ['default'] checklinks = config.get_setting('checklinks', 'cinemalibero') checklinks_number = config.get_setting('checklinks_number', 'cinemalibero') -host = 'https://www.cinemalibero.icu' - +__channel__ = "cinemalibero" +host = config.get_addon_version(__channel__) headers = [['Referer', host]] diff --git a/channels/cinemastreaming.py b/channels/cinemastreaming.py index 23df9ca4..8f5df8d2 100644 --- a/channels/cinemastreaming.py +++ b/channels/cinemastreaming.py @@ -8,8 +8,8 @@ from core import scrapertools, httptools, scrapertoolsV2, support from core.item import Item from specials import autoplay -host = 'https://cinemastreaming.icu' - +__channel__ = "cinemastreaming" +host = config.get_addon_version(__channel__) IDIOMAS = {'Italiano': 'IT'} list_language = IDIOMAS.values() list_servers = ['openload', 'streamango']