From 8f84c95215d26c236ff7b09ca67deeb8f5a59219 Mon Sep 17 00:00:00 2001 From: Intel1 Date: Wed, 2 Jan 2019 10:34:00 -0500 Subject: [PATCH] Actualizados 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit danimados: Corrección logger --- plugin.video.alfa/channels/danimados.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin.video.alfa/channels/danimados.py b/plugin.video.alfa/channels/danimados.py index 8d3b768b..bc06b99d 100644 --- a/plugin.video.alfa/channels/danimados.py +++ b/plugin.video.alfa/channels/danimados.py @@ -190,12 +190,11 @@ def play(item): def devuelve_enlace(url1): if 'danimados' in url1: - url = 'https:'+url1 + url = 'https:' + url1 new_data = httptools.downloadpage(url).data new_data = new_data.replace('"',"'") url1 = scrapertools.find_single_match(new_data, "iframe src='([^']+)") new_data = httptools.downloadpage(url1).data - logger.info("Intel22 %s" %new_data) url = scrapertools.find_single_match(new_data, "sources:\s*\[\{file:\s*'([^']+)") if "zkstream" in url or "cloudup" in url: url1 = httptools.downloadpage(url, follow_redirects=False, only_headers=True).headers.get("location", "")