From 1a184b57f449a637467d7c9a8b92295874a8539b Mon Sep 17 00:00:00 2001 From: Diego Arevalo Date: Tue, 20 Mar 2018 17:57:59 -0600 Subject: [PATCH] =?UTF-8?q?Correcci=C3=B3n=20XDVideos=20zfill=20season?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/xdvideos.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin.video.alfa/channels/xdvideos.py b/plugin.video.alfa/channels/xdvideos.py index eb371a4d..fb84ff2f 100755 --- a/plugin.video.alfa/channels/xdvideos.py +++ b/plugin.video.alfa/channels/xdvideos.py @@ -91,7 +91,6 @@ def episodios(item): matches = scrapertools.find_multiple_matches(data, patron_caps) for url, name in matches: - logger.info("url A=%s" % url) if ("temporada" in url) and (("capitulo" in url) or ("episodio" in url)): if ("capitulo" in url): season, chapter = scrapertools.find_single_match( @@ -99,7 +98,7 @@ def episodios(item): if ("episodio" in url): season, chapter = scrapertools.find_single_match( url, 'temporada-([0-9]+)-?.+episodio-([0-9]+)') - title = season + "x" + chapter.zfill(2) + " " + name + title = season.zfill(2) + "x" + chapter.zfill(2) + " " + name else: title = name