diff --git a/channels/fastsubita.json b/channels/fastsubita.json index aad4d706..11b4574f 100644 --- a/channels/fastsubita.json +++ b/channels/fastsubita.json @@ -8,6 +8,22 @@ "banner": "fastsubita.png", "categories": ["tvshow", "vos"], "settings": [ + { + "id": "include_in_newest_peliculas", + "type": "bool", + "label": "@70727", + "default": false, + "enabled": false, + "visible": false + }, + { + "id": "include_in_newest_anime", + "type": "bool", + "label": "@70727", + "default": false, + "enabled": false, + "visible": false + }, { "id": "include_in_newest_italiano", "type": "bool", diff --git a/channels/fastsubita.py b/channels/fastsubita.py index 2be810ab..84bfd15d 100644 --- a/channels/fastsubita.py +++ b/channels/fastsubita.py @@ -1,45 +1,39 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------ -# Canale per fastsubita -# Thanks Icarus crew & Alfa addon & 4l3x87 +# Canale per fastsubita.py # ------------------------------------------------------------ """ - Problemi noti che non superano il test del canale: - - indicare i problemi + Su questo canale, nella categoria 'Ricerca Globale' + non saranno presenti le voci 'Aggiungi alla Videoteca' + e 'Scarica Film'/'Scarica Serie', dunque, + la loro assenza, nel Test, NON dovrà essere segnalata come ERRORE. - Avvisi: - - Eventuali avvisi per i tester + Novità. Indicare in quale/i sezione/i è presente il canale: + - serie Ulteriori info: - SOLO SUB-ITA - --------------------------------------------------- - Per i DEV: - - nella ricerca, anche globale, esce la voce "successivo" - ma apre la maschera per l'inserimento testo - - """ -from core import support, httptools, scrapertoolsV2, tmdb +from core import support, httptools, scrapertoolsV2 from core.item import Item from core.support import log -from platformcode import config #, logger +from platformcode import config __channel__ = 'fastsubita' host = config.get_channel_url(__channel__) headers = [['Referer', host]] -##IDIOMAS = {'Italiano': 'IT'} -##list_language = IDIOMAS.values() list_servers = ['verystream', 'openload', 'speedvideo', 'wstream', 'flashx', 'vidoza', 'vidtome'] list_quality = ['default'] -PERPAGE = 15 @support.menu def mainlist(item): - tvshow = ['', - ('Archivio A-Z ', ['', 'list_az']) + + Tvshow = [ + ('Aggiornamenti', ['', 'peliculas', '', 'tvshow']), + ('Per Lettera', ['/elenco-serie-tv/', 'genres', 'genres']) ] return locals() @@ -48,154 +42,68 @@ def mainlist(item): @support.scrape def peliculas(item): support.log(item) - #dbg # decommentare per attivare web_pdb + #support.dbg() deflang = 'Sub-ITA' action = 'findvideos' blacklist = [''] - patron = r'
' + patron = r'[^>]+>[^>]+>.+?href="(?P