Browse Source

[chilloutzone] Fix for python 3.2

totalwebcasting
Sergey M․ 10 years ago
parent
commit
06947add03
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/chilloutzone.py

+ 1
- 1
youtube_dl/extractor/chilloutzone.py View File

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


Loading…
Cancel
Save