agregado user agent para reproduccion
This commit is contained in:
2
plugin.video.alfa/channels/pelisipad.py
Executable file → Normal file
2
plugin.video.alfa/channels/pelisipad.py
Executable file → Normal file
@@ -519,6 +519,7 @@ def findvideos(item):
|
||||
if item.video_urls:
|
||||
import random
|
||||
import base64
|
||||
|
||||
item.video_urls.sort(key=lambda it: (it[1], random.random()), reverse=True)
|
||||
i = 0
|
||||
actual_quality = ""
|
||||
@@ -534,6 +535,7 @@ def findvideos(item):
|
||||
title += " [COLOR green]Mirror %s[/COLOR] - %s" % (str(i + 1), item.fulltitle)
|
||||
url = vid % "%s" % base64.b64decode("dHQ9MTQ4MDE5MDQ1MSZtbT1NRzZkclhFand6QmVzbmxSMHNZYXhBJmJiPUUwb1dVVVgx"
|
||||
"WTBCQTdhWENpeU9paUE=")
|
||||
url += '|User-Agent=%s' % httptools.get_user_agent
|
||||
itemlist.append(item.clone(title=title, action="play", url=url, video_urls=""))
|
||||
i += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user