diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-15 21:30:46 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-15 22:09:07 +0530 |
commit | 39ca3b5c7f8b05ce2b23bfda158ddf8d47434794 (patch) | |
tree | 582274ea4095f4c366b77643c45eaa5027cb23c2 /yt_dlp/extractor/livestream.py | |
parent | 46383212b336012f14b79839a5b344d35a6c90e4 (diff) |
[extractor] Standardize `_live_title`
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, }) |