Compare commits

..

No commits in common. "8ef229428206db0b5a936408a5a37f3c6cb8d667" and "60b763c50f75021c6efc78563c126247d6089663" have entirely different histories.

View File

@ -119,7 +119,7 @@ class BoomplayBaseIE(InfoExtractor):
metadata_entries.extend(re.findall(r'(?si)<li>(?P<entry>.*?)</li>', details_section) or [])
page_metadata = {
'id': item_id,
'title': self._html_search_regex(r'(?i)<h1[^>]*>([^<]+)</h1>', webpage, 'title', default=None),
'title': self._html_search_regex(r'<h1[^>]*>([^<]+)</h1>', webpage, 'title', default=None),
'thumbnail': self._html_search_meta(['og:image', 'twitter:image'],
webpage, 'thumbnail', default=''),
'like_count': parse_count(self._get_element_by_class_and_tag('btn_favorite', 'button', metadata_div)),
@ -289,7 +289,7 @@ class BoomplayPodcastIE(BoomplayBaseIE):
'info_dict': {
'id': '5372',
'title': 'TED Talks Daily',
'description': r're:(?s)Every weekday, TED Talks Daily brings you the latest talks .{328} learn something new\.$',
'description': 'md5:541182e787ce8fd578c835534c907077',
'thumbnail': 'https://source.boomplaymusic.com/group10/M00/12/22/6f9cf97ad6f846a0a7882c98dfcf4f8c_320_320.jpg',
'repost_count': int,
'comment_count': int,
@ -319,6 +319,7 @@ class BoomplayPodcastIE(BoomplayBaseIE):
return self.playlist_result(
song_list, playlist_id,
playlist_title=self._og_search_title(webpage, fatal=True).rsplit('|', 2)[0].strip(),
playlist_description=self._og_search_description(webpage, default=''),
**self._extract_page_metadata(webpage, playlist_id))