1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 16:36:48 +00:00

[videott] Fix for python 3.2

This commit is contained in:
Sergey M․ 2015-05-21 23:58:46 +06:00
parent 53de95da5e
commit 5cd47a5e4f

View File

@ -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']