From: Sergey M․ Date: Thu, 21 May 2015 17:58:46 +0000 (+0600) Subject: [videott] Fix for python 3.2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5cd47a5e4f54033bcf6d80908e00eff4c75a51c5;p=youtube-dl [videott] Fix for python 3.2 --- 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']