logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1
parent cc162f6a0aa63a3e050c55cec9da728aa2cb9100
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 17 Mar 2016 23:43:14 +0600

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

Diffstat:

Myoutube_dl/extractor/animeondemand.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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