diff --git a/channels/ilgeniodellostreaming.json b/channels/ilgeniodellostreaming.json index ae0dca45..49426164 100644 --- a/channels/ilgeniodellostreaming.json +++ b/channels/ilgeniodellostreaming.json @@ -7,14 +7,5 @@ "thumbnail": "https://i.imgur.com/Nsa81r0.png", "banner": "https://i.imgur.com/Nsa81r0.png", "categories": ["movie", "tvshow", "anime", "vos"], - "settings": [ - { - "id": "include_in_newest_anime", - "type": "bool", - "label": "Includi in Novità - Anime", - "default": false, - "enabled": false, - "visible": false - } - ] + "settings": [] } diff --git a/channels/ilgeniodellostreaming.py b/channels/ilgeniodellostreaming.py index 820328e7..965ce7dc 100644 --- a/channels/ilgeniodellostreaming.py +++ b/channels/ilgeniodellostreaming.py @@ -6,8 +6,7 @@ """ - Problemi noti che non superano il test del canale: - NESSUNO (update 13-9-2019) + Alcuni video non si aprono sul sito... Avvisi per il test: i link per le categorie non sono TUTTI visibili nella pagina del sito: @@ -22,17 +21,20 @@ genere-> televisione film https://ilgeniodellostreaming.se/genere/televisione-film - Non va abilitato per: - Novità -> Anime - La pagina "Aggiornamenti Anime" del sito è vuota (update 13-9-2019) + Novità -> Serietv e Aggiornamenti nel canale: + - le pagine sono di 25 titoli + + + ##### note per i dev ######### + - La pagina "Aggiornamenti Anime" del sito è vuota (update 13-9-2019) + - in url: film o serietv """ import re -from platformcode import logger -from core import scrapertoolsV2, httptools, tmdb, support -from core.support import log, menu, aplay +from core import scrapertoolsV2, httptools, support +from core.support import log from core.item import Item from platformcode import config @@ -49,136 +51,87 @@ def mainlist(item): support.log(item) film = ['/film/', - ('Film Per Categoria',['', 'category', 'genres']), - ('Film Per Anno',['', 'category', 'year']), - ('Film Per Lettera',['/film-a-z/', 'category', 'letter']), + ('Film Per Categoria',['', 'genres', 'genres']), + ('Film Per Anno',['', 'genres', 'year']), + ('Film Per Lettera',['/film-a-z/', 'genres', 'letter']), ('Popolari',['/trending/?get=movies', 'peliculas', 'populared']), ('Più Votati', ['/ratings/?get=movies', 'peliculas', 'populared']) - ] - - tvshow = ['/serie/', - ('Nuovi Episodi', ['/aggiornamenti-serie/', 'newep', 'tvshow']), - ('TV Show', ['/tv-show/', 'peliculas', 'showtv', 'tvshow']) ] - anime = ['/anime/'] + tvshow = ['/serie/', + ('Nuovi Episodi', ['/aggiornamenti-serie/', 'peliculas', 'update']), + ('Popolari',['/trending/?get=tv', 'peliculas', 'populared']), + ('Più Votati', ['/ratings/?get=tv', 'peliculas', 'populared']) + + ] + + anime = ['/anime/' + ] + + Tvshow = [ + ('Show TV', ['/tv-show/', 'peliculas', '', 'tvshow']) + ] search = '' return locals() -@support.scrape -def category(item): - log(item) - - action='peliculas' - if item.args == 'genres': - patronBlock = r'
' - elif item.args == 'year': - patronBlock = r'' - elif item.args == 'letter': - patronBlock = r'