mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
[ie/boomplaypodcast] use the base extractor's method to extract title
This commit is contained in:
parent
bd857a06a0
commit
c59ce7d6a6
1 changed files with 1 additions and 2 deletions
|
@ -155,7 +155,7 @@ class BoomplayBaseIE(InfoExtractor):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _fix_title(title):
|
def _fix_title(title):
|
||||||
"""
|
"""
|
||||||
fix various types of titles(og:title, twitter:title, title tag in html head):
|
fix various types of titles(og:title, twitter:title, title tag in html head)
|
||||||
"""
|
"""
|
||||||
if not title:
|
if not title:
|
||||||
return {}
|
return {}
|
||||||
|
@ -364,7 +364,6 @@ class BoomplayPodcastIE(BoomplayBaseIE):
|
||||||
}))
|
}))
|
||||||
return self.playlist_result(
|
return self.playlist_result(
|
||||||
song_list, playlist_id,
|
song_list, playlist_id,
|
||||||
playlist_title=self._og_search_title(webpage, fatal=True).rsplit('|', 2)[0].strip(),
|
|
||||||
**self._extract_page_metadata(webpage, playlist_id))
|
**self._extract_page_metadata(webpage, playlist_id))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue