aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/animeondemand.py
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 /youtube_dl/extractor/animeondemand.py
parentcc162f6a0aa63a3e050c55cec9da728aa2cb9100 (diff)
downloadyoutube-dl-8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1.zip
youtube-dl-8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1.tar.gz
youtube-dl-8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1.tar.bz2
[animeondemand] Expand episode title regex (Closes #8875)
Diffstat (limited to 'youtube_dl/extractor/animeondemand.py')
-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 a7d8daf..3dbbe2a 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