2011-01-03, 23:11
The youtube plugin refuses to work with some versions of Python because of
a small issue. Apparently urllib2.Request now requires header values to be
strings, and wont convert them automatically. So this line in _fetchPage:
needs to be:
After that quick hack it starts working here. Thanks for a great addon!
(Python 2.7 here, but it might be affecting older versions as well)
a small issue. Apparently urllib2.Request now requires header values to be
strings, and wont convert them automatically. So this line in _fetchPage:
Code:
request.add_header('GData-Version', 2)
needs to be:
Code:
request.add_header('GData-Version', "2")
After that quick hack it starts working here. Thanks for a great addon!
(Python 2.7 here, but it might be affecting older versions as well)