diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-22 00:03:47 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-22 00:03:47 +0600 |
commit | 06947add03b6b619292812a771993d3365b0e7e5 (patch) | |
tree | 12f92ca1ed6bd80249367338fd5a3143ce383939 /youtube_dl/extractor | |
parent | 5cd47a5e4f54033bcf6d80908e00eff4c75a51c5 (diff) |
[chilloutzone] Fix for python 3.2
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/chilloutzone.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/chilloutzone.py b/youtube_dl/extractor/chilloutzone.py index c922f6959..0206d96db 100644 --- a/youtube_dl/extractor/chilloutzone.py +++ b/youtube_dl/extractor/chilloutzone.py @@ -57,7 +57,7 @@ class ChilloutzoneIE(InfoExtractor): base64_video_info = self._html_search_regex( r'var cozVidData = "(.+?)";', webpage, 'video data') - decoded_video_info = base64.b64decode(base64_video_info).decode("utf-8") + decoded_video_info = base64.b64decode(base64_video_info.encode('utf-8')).decode('utf-8') video_info_dict = json.loads(decoded_video_info) # get video information from dict |