From 38085f9acb615ce698025e0c51c407f0f54bd4f5 Mon Sep 17 00:00:00 2001 From: alfa-addon Date: Fri, 4 Aug 2017 20:05:47 -0400 Subject: [PATCH] fix mostrar 1 solo resultado --- plugin.video.alfa/channels/playmax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/playmax.py b/plugin.video.alfa/channels/playmax.py index b1416ca8..64c6e5db 100644 --- a/plugin.video.alfa/channels/playmax.py +++ b/plugin.video.alfa/channels/playmax.py @@ -168,7 +168,7 @@ def busqueda(item): if __modo_grafico__: tmdb.set_infoLabels_itemlist(itemlist, __modo_grafico__) - # total = int(data.get("Data", {}).get("totalResultsFichas"), "0") + total = int(data["Data"]["totalResultsFichas"]) actualpage = int(scrapertools.find_single_match(item.url, "start=(\d+)")) if actualpage + 20 < total: