From 1d5e1793fa69e1903903f8087a87f6b6e14e63de Mon Sep 17 00:00:00 2001 From: Daniel Rincon Date: Thu, 7 Feb 2019 15:39:43 -0500 Subject: [PATCH 1/3] Danimados: Ajustes para obtener los enlaces de los videos --- plugin.video.alfa/channels/danimados.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/danimados.py b/plugin.video.alfa/channels/danimados.py index bc06b99d..fe8c7c57 100644 --- a/plugin.video.alfa/channels/danimados.py +++ b/plugin.video.alfa/channels/danimados.py @@ -167,8 +167,12 @@ def findvideos(item): headers = {"X-Requested-With":"XMLHttpRequest"} for scrapedserver, scrapeduser in matches: data1 = httptools.downloadpage("https://space.danimados.space/gilberto.php?id=%s&sv=mp4" %scrapeduser).data - url = base64.b64decode(scrapertools.find_single_match(data1, 'hashUser = "([^"]+)')) + data1 = re.sub(r"\n|\r|\t|\s{2}| ", "", data1) + logger.info("data1111"+data1) + url = base64.b64decode(scrapertools.find_single_match(data1, '