[videott] Fix for python 3.2

pull/5780/head
Sergey M․ 10 years ago
parent 53de95da5e
commit 5cd47a5e4f

@ -43,7 +43,7 @@ class VideoTtIE(InfoExtractor):
formats = [ formats = [
{ {
'url': base64.b64decode(res['u']).decode('utf-8'), 'url': base64.b64decode(res['u'].encode('utf-8')).decode('utf-8'),
'ext': 'flv', 'ext': 'flv',
'format_id': res['l'], 'format_id': res['l'],
} for res in settings['res'] if res['u'] } for res in settings['res'] if res['u']

Loading…
Cancel
Save