aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-22 03:34:27 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-22 03:34:27 +0700
commit3d897cc791781430f371da98f2f3a05a0b856c5b (patch)
tree2bbe6e332f4505c58a366999573820f8dbfcd0cc
parentcf143c4d977915c993f4aa467b491a6c284bb569 (diff)
[ivi] Fix episode number extraction
-rw-r--r--youtube_dl/extractor/ivi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ivi.py b/youtube_dl/extractor/ivi.py
index f5ab5f4af..7c8cb21c2 100644
--- a/youtube_dl/extractor/ivi.py
+++ b/youtube_dl/extractor/ivi.py
@@ -132,7 +132,7 @@ class IviIE(InfoExtractor):
webpage, 'season number', default=None))
episode_number = int_or_none(self._search_regex(
- r'<meta[^>]+itemprop="episode"[^>]*>\s*<meta[^>]+itemprop="episodeNumber"[^>]+content="(\d+)',
+ r'[^>]+itemprop="episode"[^>]*>\s*<meta[^>]+itemprop="episodeNumber"[^>]+content="(\d+)',
webpage, 'episode number', default=None))
description = self._og_search_description(webpage, default=None) or self._html_search_meta(