Skip to content

Commit

Permalink
crunchyroll: fix title extraction regexp
Browse files Browse the repository at this point in the history
Fixes #21291
  • Loading branch information
dunn committed Jun 18, 2019
1 parent 7c24a58 commit bbe3ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/crunchyroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def _real_extract(self, url):
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="([^"]+)"',
Expand Down

0 comments on commit bbe3ec8

Please sign in to comment.