mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 12:03:19 -05:00
[ie/BoomplayEpisode] Make title extraction non-fatal
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
0f9b09842e
commit
8a1daf41ab
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue