- podcast_title = self._search_regex(
- r'<h2>([^<]+)</h2>', webpage, 'podcast title', default=None)
- episode_title = self._search_regex(
- r'(?:<div class="episode-title">|<h3>)([^<]+)</', webpage, 'episode title')
+ episode_title = data.get('item_title') or get_element_by_class('episode-title', webpage)
+ if not episode_title:
+ self._search_regex(
+ [r'data-title="([^"]+)"', r'<title>(.+?)</title>'],
+ webpage, 'episode title')
+ episode_title = episode_title.strip()
+
+ podcast_title = strip_or_none(clean_html(self._search_regex(
+ r'<h3>([^<]+)</h3>', webpage, 'podcast title',
+ default=None) or get_element_by_class('podcast-title', webpage)))