diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-21 23:58:46 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-21 23:58:46 +0600 |
commit | 5cd47a5e4f54033bcf6d80908e00eff4c75a51c5 (patch) | |
tree | a61d00d80a38c65f59f136db385313c09d11ae3d /youtube_dl | |
parent | 53de95da5e40aa1a465668977e507ccc914099f9 (diff) |
[videott] Fix for python 3.2
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/videott.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/videott.py b/youtube_dl/extractor/videott.py index ececc7ee0..591024ead 100644 --- a/youtube_dl/extractor/videott.py +++ b/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'] |