From 78693bb5ece9d23e024bddc2a7532e298f59c605 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 12 Sep 2018 16:43:17 -0300 Subject: [PATCH] correccion para findvideos --- plugin.video.alfa/channels/locopelis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 plugin.video.alfa/channels/locopelis.py diff --git a/plugin.video.alfa/channels/locopelis.py b/plugin.video.alfa/channels/locopelis.py old mode 100755 new mode 100644 index 7173701f..007c3680 --- a/plugin.video.alfa/channels/locopelis.py +++ b/plugin.video.alfa/channels/locopelis.py @@ -355,7 +355,7 @@ def findvideos(item): new_url = get_link(get_source(item.url)) new_url = get_link(get_source(new_url)) video_id = scrapertools.find_single_match(new_url, 'http.*?h=(\w+)') - new_url = '%s%s' % (host, 'playeropstream/api.php') + new_url = '%s%s' % (host.replace('.com','.tv'), 'playeropstream/api.php') post = {'h': video_id} post = urllib.urlencode(post) data = httptools.downloadpage(new_url, post=post).data