Browse Source

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

totalwebcasting
Sergey M․ 9 years ago
parent
commit
8c97e7efb6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/animeondemand.py

+ 1
- 1
youtube_dl/extractor/animeondemand.py View File

@ -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


Loading…
Cancel
Save