aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-17 23:43:14 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-17 23:43:14 +0600
commit8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1 (patch)
treec184f82920b5b8b909205820de2bebcfb278104c
parentcc162f6a0aa63a3e050c55cec9da728aa2cb9100 (diff)
[animeondemand] Expand episode title regex (Closes #8875)
-rw-r--r--youtube_dl/extractor/animeondemand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/animeondemand.py b/youtube_dl/extractor/animeondemand.py
index a7d8daf7b..3dbbe2a62 100644
--- a/youtube_dl/extractor/animeondemand.py
+++ b/youtube_dl/extractor/animeondemand.py
@@ -93,7 +93,7 @@ class AnimeOnDemandIE(InfoExtractor):
for episode_html in re.findall(r'(?s)<h3[^>]+class="episodebox-title".+?>Episodeninhalt<', webpage):
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:
continue