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/nbc.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/nbc.py')
-rw-r--r-- | yt_dlp/extractor/nbc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/nbc.py b/yt_dlp/extractor/nbc.py index f304f191a..cd573690b 100644 --- a/yt_dlp/extractor/nbc.py +++ b/yt_dlp/extractor/nbc.py @@ -305,7 +305,7 @@ class NBCSportsStreamIE(AdobePassIE): self._sort_formats(formats) return { 'id': video_id, - 'title': self._live_title(title) if is_live else title, + 'title': title, 'description': live_source.get('description'), 'formats': formats, 'is_live': is_live, @@ -545,8 +545,6 @@ class NBCOlympicsStreamIE(AdobePassIE): title = event_config['eventTitle'] is_live = {'live': True, 'replay': False}.get(event_config.get('eventStatus')) - if is_live: - title = self._live_title(title) source_url = self._download_json( f'https://api-leap.nbcsports.com/feeds/assets/{pid}?application=NBCOlympics&platform=desktop&format=nbc-player&env=staging', |