projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd47a5
)
[chilloutzone] Fix for python 3.2
author
Sergey M․
<dstftw@gmail.com>
Thu, 21 May 2015 18:03:47 +0000
(
00:03
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 21 May 2015 18:03:47 +0000
(
00:03
+0600)
youtube_dl/extractor/chilloutzone.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/chilloutzone.py
b/youtube_dl/extractor/chilloutzone.py
index c922f695905d70e4052ddfa5c8f336c01221413b..0206d96db4670fb29a40353839dae15911b9c6d3 100644
(file)
--- 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