From 1bbc127a1285529dc859697cfaabea64445c461d Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Mon, 7 Oct 2019 10:23:17 +0200 Subject: [PATCH] =?UTF-8?q?Serie=20HD=20rimosso=20novit=C3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- channels/seriehd.json | 1 + channels/seriehd.py | 20 -------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/channels/seriehd.json b/channels/seriehd.json index b6be2f7b..934fb42a 100644 --- a/channels/seriehd.json +++ b/channels/seriehd.json @@ -7,5 +7,6 @@ "thumbnail": "seriehd.png", "banner": "seriehd.png", "categories": ["tvshow"], + "not_active":"include_in_newest", "settings": [] } diff --git a/channels/seriehd.py b/channels/seriehd.py index 6d437c20..98c1ed58 100644 --- a/channels/seriehd.py +++ b/channels/seriehd.py @@ -55,26 +55,6 @@ def search(item, texto): return [] -def newest(categoria): - support.log(categoria) - itemlist = [] - item = support.Item() - try: - if categoria == "series": - item.url = host - item.contentType = 'tvshow' - itemlist = peliculas(item) - itemlist.pop() - # Continua la ricerca in caso di errore - except: - import sys - for line in sys.exc_info(): - support.logger.error("{0}".format(line)) - return [] - - return itemlist - - @support.scrape def genre(item): patronMenu = '(?P[^<]+)</a>'