From 410d947e4b9b2ed15640aaafc745a9dfe5a3dcc0 Mon Sep 17 00:00:00 2001 From: alfa-addon Date: Wed, 25 Oct 2017 18:53:49 -0400 Subject: [PATCH] fixed --- plugin.video.alfa/channels/pedropolis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/pedropolis.py b/plugin.video.alfa/channels/pedropolis.py index 845cba80..1aea9ae2 100644 --- a/plugin.video.alfa/channels/pedropolis.py +++ b/plugin.video.alfa/channels/pedropolis.py @@ -98,10 +98,11 @@ def peliculas(item): url_next_page = '' data = httptools.downloadpage(item.url).data data = re.sub(r"\n|\r|\t|\(.*?\)|\s{2}| ", "", data) + # logger.info(data) patron = '
([^.*?' # img, title patron += '
([^<]+).*?' # rating - patron += '([^<]+).*?' # calidad, url + patron += '([^<]+)
.*?' # calidad, url patron += '([^<]+)' # year matches = scrapertools.find_multiple_matches(data, patron)