From b0fa5e8a75176dff1b974d91f327513a42db408a Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sat, 28 Oct 2017 23:23:42 -0500 Subject: [PATCH] =?UTF-8?q?Eliminada=20secci=C3=B3n=20Novedades=20porque?= =?UTF-8?q?=20la=20p=C3=A1gina=20web=20la=20elimino?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/danimados.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugin.video.alfa/channels/danimados.py b/plugin.video.alfa/channels/danimados.py index d2805e1f..298d5159 100644 --- a/plugin.video.alfa/channels/danimados.py +++ b/plugin.video.alfa/channels/danimados.py @@ -28,8 +28,6 @@ def mainlist(item): itemlist = list() - itemlist.append(Item(channel=item.channel, action="mainpage", title="Novedades", url=host, - thumbnail=thumb_series)) itemlist.append(Item(channel=item.channel, action="mainpage", title="Géneros", url=host, thumbnail=thumb_series)) itemlist.append(Item(channel=item.channel, action="mainpage", title="Categorías", url=host, @@ -59,9 +57,7 @@ def mainpage(item): data1 = httptools.downloadpage(item.url).data data1 = re.sub(r"\n|\r|\t|\s{2}| ", "", data1) - if item.title=="Novedades": - patron_sec='
(.+?)<\/article><\/div>' - patron='.+?.+?([^"]+)<\/a>' #scrapedthumbnail, #scrapedurl, #scrapedtitle + logger.info("datasad "+data1) if item.title=="Géneros": patron_sec='