From c7151389727c30e18c0c996790ae0cdf4d9c9fe0 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Thu, 6 Jun 2019 10:48:19 +0200 Subject: [PATCH] Pagination for "Aggiornamenti serie tv'" --- channels/cineblog01.py | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/channels/cineblog01.py b/channels/cineblog01.py index 208c2c87..38cbcaf6 100644 --- a/channels/cineblog01.py +++ b/channels/cineblog01.py @@ -118,13 +118,19 @@ def last(item): itemlist = [] infoLabels = {} quality = '' + PERPAGE = 20 + page = 1 + if item.page: + page = item.page if item.contentType == 'tvshow': matches = support.match(item, r']+)".*?>([^(:(|[)]+)([^<]+)<\/a>', '