diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py index 325420ff..1425d201 100644 --- a/channels/cinemalibero.py +++ b/channels/cinemalibero.py @@ -3,9 +3,8 @@ # Canale per 'cinemaLibero' # ------------------------------------------------------------ """ - Questi sono commenti per i beta-tester. - 25 titoli per le novità di qualsiasi sezione. + 25 titoli per le novità NON CONTROLLARE LE SEZIONE SPORT - ANIME, HANNO PROBLEMI!!! è stata eliminata dall'elenco ma i titoli possono apparire nella ricerca o tra le novità @@ -31,7 +30,6 @@ headers = [['Referer', host]] @support.menu def mainlist(item): - support.log() film = ['/category/film/', ('Novità', ['', 'peliculas', 'update']), @@ -55,8 +53,6 @@ def mainlist(item): @support.scrape def peliculas(item): - support.log() - #debug = True data = httptools.downloadpage(item.url, headers=headers).data data = re.sub('\n|\t', ' ', data) @@ -91,25 +87,21 @@ def peliculas(item): dataBlock = httptools.downloadpage(item.url, headers=headers).data genere = scrapertoolsV2.find_single_match(dataBlock, r'rel="category tag">([a-zA-Z0-9]+).+?<') - support.log('GENERE :', genere) if genere.lower() in str(GENERI).lower(): - support.log("E' un film: ", genere, ' -> ' , GENERI) item.contentType = 'movie' action = 'findvideos' if item.args == 'update': item.title = item.title.replace('-',' ') elif genere.lower() == 'serie': - support.log("E' una serie: ", genere) item.action = 'episodios' item.contentType = 'tvshow' elif genere.lower() == 'anime': - support.log("E' una anime: ", genere) blockAnime = scrapertoolsV2.find_single_match(dataBlock, r'
(.+?)
' - debug = True + #debug = True return locals() @support.scrape def episodios(item): - support.log() if item.args == 'anime': support.log("Anime :", item) @@ -145,9 +136,9 @@ def episodios(item): #debug = True return locals() + @support.scrape def genres(item): - support.log() action='peliculas' patron_block=r'