diff options
author | Sergey M․ <[email protected]> | 2021-04-17 05:05:31 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2021-04-17 05:05:31 +0700 |
commit | 9f6c03a00602eb1119e43a522cf50682f6d6a6dd (patch) | |
tree | f87d07588d01f5b4b075fd7da3ce4c1760bf5ba9 | |
parent | 596b26606cfe20aa9f776ac0658b6bfb1ea95397 (diff) | |
download | youtube-dl-9f6c03a00602eb1119e43a522cf50682f6d6a6dd.tar.gz youtube-dl-9f6c03a00602eb1119e43a522cf50682f6d6a6dd.zip |
[cbsnews] Fix extraction for python <3.6 (closes #23359)
-rw-r--r-- | youtube_dl/extractor/cbsnews.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbsnews.py b/youtube_dl/extractor/cbsnews.py index 345debcf0..1285ed65e 100644 --- a/youtube_dl/extractor/cbsnews.py +++ b/youtube_dl/extractor/cbsnews.py @@ -26,7 +26,7 @@ class CBSNewsEmbedIE(CBSIE): def _real_extract(self, url): item = self._parse_json(zlib.decompress(compat_b64decode( compat_urllib_parse_unquote(self._match_id(url))), - -zlib.MAX_WBITS), None)['video']['items'][0] + -zlib.MAX_WBITS).decode('utf-8'), None)['video']['items'][0] return self._extract_video_info(item['mpxRefId'], 'cbsnews') |