From c5009afcedc3291aca9221ec99c79623a385b8ce Mon Sep 17 00:00:00 2001 From: greko17 Date: Wed, 30 Oct 2019 23:17:28 +0100 Subject: [PATCH] fix: filmpertutti.py canale finito, da testare. --- channels/filmpertutti.json | 2 +- channels/filmpertutti.py | 326 ++++++++++++++++--------------------- 2 files changed, 137 insertions(+), 191 deletions(-) diff --git a/channels/filmpertutti.json b/channels/filmpertutti.json index 34d06af2..65179cbe 100644 --- a/channels/filmpertutti.json +++ b/channels/filmpertutti.json @@ -3,7 +3,7 @@ "name": "Filmpertutti", "active": true, "adult": false, - "language": ["ita"], + "language": ["ita", "sub-ita"], "thumbnail": "filmpertutti.png", "banner": "filmpertutti.png", "categories": ["tvshow","movie"], diff --git a/channels/filmpertutti.py b/channels/filmpertutti.py index 0d466ca0..5e785e7b 100644 --- a/channels/filmpertutti.py +++ b/channels/filmpertutti.py @@ -1,235 +1,181 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------ -# Canale per filmpertutti.co +# Canale per filmpertutti.py # ------------------------------------------------------------ +""" + Questi sono commenti per i beta-tester. + + 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. + + Novità (globale). Indicare in quale/i sezione/i è presente il canale: + - film, serie + +""" import re -from channelselector import thumb -from core import scrapertoolsV2, servertools, httptools, tmdb, support +from core import scrapertoolsV2, httptools, support from core.item import Item -from platformcode import config, logger -from specials import autoplay +from platformcode import config + __channel__ = 'filmpertutti' host = config.get_channel_url(__channel__) headers = [['Referer', host]] -list_servers = ['verystream', 'openload', 'streamango', 'wstream', 'akvideo'] +list_servers = ['speedvideo', 'verystream', 'openload', 'streamango', 'wstream', 'akvideo'] list_quality = ['HD', 'SD'] - @support.menu def mainlist(item): - film = ['/category/film/', - ('Film per Genere', ['', 'genre']) - ] - tvshow = ['/category/serie-tv/', - ('in ordine alfabetico', ['/category/serie-tv/', 'az']) - ] + film = ['/category/film/', + ('Per Lettera', ['/category/film/', 'genres', 'lettersF']) + ] + + tvshow = ['/category/serie-tv/', + ('Aggiornamenti', ['/aggiornamenti-serie-tv/', 'peliculas', 'newest']), + ('Per Lettera', ['/category/serie-tv/', 'genres', 'lettersS']) + ] + + search = '' + return locals() + +@support.scrape +def peliculas(item): + support.log() + + if item.args != 'newest': + patronBlock = r'