Browse Source

[videott] Fix for python 3.2

master
Sergey M․ 9 years ago
parent
commit
5cd47a5e4f
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/videott.py

2
youtube_dl/extractor/videott.py

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

Loading…
Cancel
Save