From fb14f64fcbed29c5b0ec7e285284567de092cb58 Mon Sep 17 00:00:00 2001 From: Kingbox <37674310+lopezvg@users.noreply.github.com> Date: Wed, 5 Dec 2018 12:00:44 +0100 Subject: [PATCH] =?UTF-8?q?Todopeliculas:=20correcci=C3=B3n=20paginado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/todopeliculas.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/todopeliculas.py b/plugin.video.alfa/channels/todopeliculas.py index 6b7b68ab..b10a1954 100644 --- a/plugin.video.alfa/channels/todopeliculas.py +++ b/plugin.video.alfa/channels/todopeliculas.py @@ -178,7 +178,9 @@ def listado(item): #logger.debug(data) #Buscamos la url de paginado y la última página - patron = 'Siguiente<\/a>' + patron = 'Next<\/a>' + if not scrapertools.find_single_match(data, patron): + patron = 'Siguiente<\/a>' try: next_page_url, curr_page = scrapertools.find_single_match(data, patron) curr_page = int(curr_page) / len(matches)