]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/nbc.py
[extractor] Standardize `_live_title`
[yt-dlp.git] / yt_dlp / extractor / nbc.py
index f304f191afa658903ef6540230102b090b8871ec..cd573690b2bce97d509b9f14be33c035a346cbd3 100644 (file)
@@ -305,7 +305,7 @@ def _real_extract(self, url):
         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 @@ def _real_extract(self, url):
 
         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',