From b6673053eb946d4218b9708f5da14dbcd4c56b6f Mon Sep 17 00:00:00 2001 From: chivmalev Date: Wed, 5 Dec 2018 08:56:50 -0300 Subject: [PATCH] =?UTF-8?q?correcci=C3=B3nes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/maxipelis24.py | 55 +++++++++++++---------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/plugin.video.alfa/channels/maxipelis24.py b/plugin.video.alfa/channels/maxipelis24.py index d8d1eb30..4e1d0938 100644 --- a/plugin.video.alfa/channels/maxipelis24.py +++ b/plugin.video.alfa/channels/maxipelis24.py @@ -98,29 +98,31 @@ def findvideos(item): itemlist = [] data = httptools.downloadpage(item.url).data - data = re.sub(r"\n|\r|\t|\s{2}| ","", data) - patron = scrapertools.find_single_match(data, '
(.*?)
') - patron = '
.+?[a-zA-Z]="([^&]+)&' - + data = re.sub(r"\n|\r|\t|\s{2}| ","", data) + + patron = '