aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/livestream.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-12-15 13:01:17 -0500
committerJesús <heckyel@hyperbola.info>2021-12-15 13:01:17 -0500
commit97eb14c3689ac0589c41948161bc3ca23be31d95 (patch)
tree1b4ccb2b7243fc09ca9baf1f7fe907436cc4af4a /yt_dlp/extractor/livestream.py
parent8389a1296991bbb0b36c61dce7d0691c69d865bf (diff)
parent3116be32b404cbeca066d73a14079a11b8072faf (diff)
downloadhypervideo-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.py4
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,
})