aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/cbsnews.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-17 08:32:33 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-17 08:40:31 +0530
commit201c1459535e25b88e76079ae3b9165c8f827a2a (patch)
treefbef323b193004d1383b95fb41741e3fba1226ed /yt_dlp/extractor/cbsnews.py
parent5d3420026830df0bc4c64b45d5a498d8ce3d9a52 (diff)
downloadhypervideo-pre-201c1459535e25b88e76079ae3b9165c8f827a2a.tar.lz
hypervideo-pre-201c1459535e25b88e76079ae3b9165c8f827a2a.tar.xz
hypervideo-pre-201c1459535e25b88e76079ae3b9165c8f827a2a.zip
Update to ytdl-commit-9f6c03
[cbsnews] Fix extraction for python <3.6 https://github.com/ytdl-org/youtube-dl/commit/9f6c03a00602eb1119e43a522cf50682f6d6a6dd
Diffstat (limited to 'yt_dlp/extractor/cbsnews.py')
-rw-r--r--yt_dlp/extractor/cbsnews.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/cbsnews.py b/yt_dlp/extractor/cbsnews.py
index 345debcf0..1285ed65e 100644
--- a/yt_dlp/extractor/cbsnews.py
+++ b/yt_dlp/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')