diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-15 13:01:17 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-15 13:01:17 -0500 |
commit | 97eb14c3689ac0589c41948161bc3ca23be31d95 (patch) | |
tree | 1b4ccb2b7243fc09ca9baf1f7fe907436cc4af4a /yt_dlp/extractor/livestream.py | |
parent | 8389a1296991bbb0b36c61dce7d0691c69d865bf (diff) | |
parent | 3116be32b404cbeca066d73a14079a11b8072faf (diff) | |
download | hypervideo-pre-97eb14c3689ac0589c41948161bc3ca23be31d95.tar.lz hypervideo-pre-97eb14c3689ac0589c41948161bc3ca23be31d95.tar.xz hypervideo-pre-97eb14c3689ac0589c41948161bc3ca23be31d95.zip |
updated from upstream | 15/12/2021 at 13:01
Diffstat (limited to 'yt_dlp/extractor/livestream.py')
-rw-r--r-- | yt_dlp/extractor/livestream.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/livestream.py b/yt_dlp/extractor/livestream.py index f591289ec..45bf26d26 100644 --- a/yt_dlp/extractor/livestream.py +++ b/yt_dlp/extractor/livestream.py @@ -176,7 +176,7 @@ class LivestreamIE(InfoExtractor): return { 'id': broadcast_id, 'formats': formats, - 'title': self._live_title(stream_info['stream_title']) if is_live else stream_info['stream_title'], + 'title': stream_info['stream_title'], 'thumbnail': stream_info.get('thumbnail_url'), 'is_live': is_live, } @@ -344,7 +344,7 @@ class LivestreamOriginalIE(InfoExtractor): is_live = video_data.get('isLive') info.update({ 'id': content_id, - 'title': self._live_title(info['title']) if is_live else info['title'], + 'title': info['title'], 'formats': self._extract_video_formats(video_data, content_id), 'is_live': is_live, }) |