1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 10:11:52 +00:00

[animeondemand] Expand episode title regex (Closes #8875)

This commit is contained in:
Sergey M․ 2016-03-17 23:43:14 +06:00
parent cc162f6a0a
commit 8c97e7efb6

View file

@ -93,7 +93,7 @@ class AnimeOnDemandIE(InfoExtractor):
for episode_html in re.findall(r'(?s)<h3[^>]+class="episodebox-title".+?>Episodeninhalt<', webpage): for episode_html in re.findall(r'(?s)<h3[^>]+class="episodebox-title".+?>Episodeninhalt<', webpage):
m = re.search( m = re.search(
r'class="episodebox-title"[^>]+title="Episode (?P<number>\d+) - (?P<title>.+?)"', episode_html) r'class="episodebox-title"[^>]+title="(?:Episode|Film)\s*(?P<number>\d+)\s*-\s*(?P<title>.+?)"', episode_html)
if not m: if not m:
continue continue