2015-07-18, 21:16
I have a problem in the player of an addon with goo.gl links
>>That part of the player I find the id of goo.gl (that is masked with address):
>>In this part I add http://goo.gl to id:
>>And this, I believe, would be part of running video.
>>But the video does not run and the log displays the following error:
P.S.: The asterisks after further includes goo.gl I to preserve the link
>>What is missing to give play to goo.gl?
>>That part of the player I find the id of goo.gl (that is masked with address):
Code:
playfreehd = r'v=(.*?)" marginwidth='
>>In this part I add http://goo.gl to id:
Code:
try:
links.append('http://goo.gl/'+re.findall(playfreehd, codigo_fonte)[0])
hosts.append('[B][COLOR green]PlayfreeHD[/COLOR][/B]')
except:
pass
>>And this, I believe, would be part of running video.
Code:
if 'playfreehd' in url_video:
matriz = get_playfreehd(url_video)
>>But the video does not run and the log displays the following error:
Code:
15:39:11 T:8816 NOTICE: Player url: http://goo.gl/******
15:39:11 T:8816 NOTICE: Falha: http://goo.gl/******
15:39:11 T:8816 NOTICE: []
15:39:11 T:8816 NOTICE: erro ao abrir o video
15:39:11 T:8816 NOTICE: http://goo.gl/******
15:39:11 T:8816 WARNING: Attempt to use invalid handle -1
P.S.: The asterisks after further includes goo.gl I to preserve the link
>>What is missing to give play to goo.gl?