Kodi Community Forum

Full Version: Links goo.gl
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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):

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?