From: Sergey M․ Date: Fri, 21 Jun 2019 17:07:26 +0000 (+0700) Subject: [crunchyroll:playlist] Fix and relax title extraction (closes #21291, closes #21443) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4681441d2faf54615962029c7240601e339281bb;p=youtube-dl [crunchyroll:playlist] Fix and relax title extraction (closes #21291, closes #21443) --- diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index 588c3c71b..75b56ee42 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -661,9 +661,8 @@ class CrunchyrollShowPlaylistIE(CrunchyrollBaseIE): webpage = self._download_webpage( self._add_skip_wall(url), show_id, headers=self.geo_verification_headers()) - title = self._html_search_regex( - r'(?s)]*>\s*(.*?)', - webpage, 'title') + title = self._html_search_meta('name', webpage, default=None) + episode_paths = re.findall( r'(?s)
  • ]+>.*?