1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +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 = [
{
'url': base64.b64decode(res['u']).decode('utf-8'),
'url': base64.b64decode(res['u'].encode('utf-8')).decode('utf-8'),
'ext': 'flv',
'format_id': res['l'],
} for res in settings['res'] if res['u']