2013-12-14, 00:53
OK. I have found the solution on:
https://code.google.com/p/youtubexbmc/is...ail?id=106
Following these instructions fixed it for me:
I was trying to login but the youtube url params contained utf-8 chars that were not parsed correctly.
I was able to fix this by adding the following line in YouTubeCore.py inside _fetchPage :
Right before:
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
add this line to encode the values first
params["url_data"] = dict((k, v.encode('utf-8')) for (k, v) in get("url_data").items())
Hope this helps someone else.
https://code.google.com/p/youtubexbmc/is...ail?id=106
Following these instructions fixed it for me:
I was trying to login but the youtube url params contained utf-8 chars that were not parsed correctly.
I was able to fix this by adding the following line in YouTubeCore.py inside _fetchPage :
Right before:
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
add this line to encode the values first
params["url_data"] = dict((k, v.encode('utf-8')) for (k, v) in get("url_data").items())
Hope this helps someone else.