correccion para findvideos

This commit is contained in:
Unknown
2018-09-12 16:43:17 -03:00
parent 814a24c1ce
commit 78693bb5ec

2
plugin.video.alfa/channels/locopelis.py Executable file → Normal file
View File

@@ -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