From 5ca2ed6212530613202925f69613e21a489fadee Mon Sep 17 00:00:00 2001
From: Intel1 <25161862+Intel11@users.noreply.github.com>
Date: Sat, 25 Nov 2017 09:26:01 -0500
Subject: [PATCH] pelisfox: fix patron
---
plugin.video.alfa/channels/pelisfox.py | 53 +++++++++++++-------------
1 file changed, 27 insertions(+), 26 deletions(-)
diff --git a/plugin.video.alfa/channels/pelisfox.py b/plugin.video.alfa/channels/pelisfox.py
index 294eea6b..10e6e913 100644
--- a/plugin.video.alfa/channels/pelisfox.py
+++ b/plugin.video.alfa/channels/pelisfox.py
@@ -74,16 +74,15 @@ def lista(item):
itemlist = []
data = httptools.downloadpage(item.url).data
- data = re.sub(r'"|\n|\r|\t| |
|\s{2,}', "", data)
+ data = re.sub(r'\n|\r|\t| |
|\s{2,}', "", data)
if item.seccion != 'actor':
- patron = '
(.*?)<\/p><\/span><\/a><\/li>' + patron = '(?s)
([^<]+)' else: - patron = '
(.*?)<\/p>
(.*?)<\/p>' - matches = re.compile(patron, re.DOTALL).findall(data) - + patron = '(?s)