Browse Source

Some blip.tv URLs use Unicode characters. urllib2 breaks when passing a Unicode string. it needs a UTF-8 byte buffer

rtmp_test
Juan Carlos Garcia Segovia 13 years ago
parent
commit
f1927d71e4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/InfoExtractors.py

+ 1
- 1
youtube_dl/InfoExtractors.py View File

@ -1912,7 +1912,7 @@ class BlipTVIE(InfoExtractor):
else:
cchar = '?'
json_url = url + cchar + 'skin=json&version=2&no_wrap=1'
request = urllib2.Request(json_url)
request = urllib2.Request(json_url.encode('utf-8'))
self.report_extraction(mobj.group(1))
info = None
try:


Loading…
Cancel
Save