From 8a1daf41ab21f3b2e06eb2c6d12162e60822ab3b Mon Sep 17 00:00:00 2001 From: dirkf Date: Wed, 23 Oct 2024 23:58:57 +1300 Subject: [PATCH] [ie/BoomplayEpisode] Make title extraction non-fatal Co-authored-by: dirkf --- yt_dlp/extractor/boomplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/boomplay.py b/yt_dlp/extractor/boomplay.py index 50826e99e7..e6ecfe0e7b 100644 --- a/yt_dlp/extractor/boomplay.py +++ b/yt_dlp/extractor/boomplay.py @@ -274,7 +274,7 @@ def _real_extract(self, url): webpage = self._download_webpage(url, ep_id) return merge_dicts( self._extract_page_metadata(webpage, ep_id), { - 'title': self._og_search_title(webpage, fatal=True).rsplit('|', 2)[0].strip(), + 'title': self._og_search_title(webpage, default='').rsplit('|', 2)[0].strip() or None, 'description': self._html_search_meta( ['description', 'og:description', 'twitter:description'], webpage), 'formats': self._extract_formats(ep_id, 'EPISODE', vcodec='none'),