[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 @@ def _real_extract(self, url):
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']