crunchyroll: fix title extraction regexp

Fixes #21291
This commit is contained in:
Alex Dunn 2019-06-18 11:04:29 -07:00
parent 7c24a58bdb
commit bbe3ec8edd

View File

@ -662,7 +662,7 @@ class CrunchyrollShowPlaylistIE(CrunchyrollBaseIE):
self._add_skip_wall(url), show_id,
headers=self.geo_verification_headers())
title = self._html_search_regex(
r'(?s)<h1[^>]*>\s*<span itemprop="name">(.*?)</span>',
r'(?s)<meta content="(.*?)" itemprop="name">',
webpage, 'title')
episode_paths = re.findall(
r'(?s)<li id="showview_videos_media_(\d+)"[^>]+>.*?<a href="([^"]+)"',