projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc162f6
)
[animeondemand] Expand episode title regex (Closes #8875)
author
Sergey M․
<dstftw@gmail.com>
Thu, 17 Mar 2016 17:43:14 +0000
(23:43 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 17 Mar 2016 17:43:14 +0000
(23:43 +0600)
youtube_dl/extractor/animeondemand.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/animeondemand.py
b/youtube_dl/extractor/animeondemand.py
index a7d8daf7b4788bbaff020ccfca1ed7ba46e5d6f8..3dbbe2a6246da44b25b7b51b0abf9ee365ee60cc 100644
(file)
--- 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