From: Sergey M․ Date: Thu, 17 Mar 2016 17:43:14 +0000 (+0600) Subject: [animeondemand] Expand episode title regex (Closes #8875) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1;p=youtube-dl [animeondemand] Expand episode title regex (Closes #8875) --- 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)]+class="episodebox-title".+?>Episodeninhalt<', webpage): m = re.search( - r'class="episodebox-title"[^>]+title="Episode (?P\d+) - (?P.+?)"', episode_html) + r'class="episodebox-title"[^>]+title="(?:Episode|Film)\s*(?P<number>\d+)\s*-\s*(?P<title>.+?)"', episode_html) if not m: continue