projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf143c4
)
[ivi] Fix episode number extraction
author
Sergey M․
<dstftw@gmail.com>
Sun, 21 Aug 2016 20:34:27 +0000
(
03:34
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 21 Aug 2016 20:34:27 +0000
(
03:34
+0700)
youtube_dl/extractor/ivi.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ivi.py
b/youtube_dl/extractor/ivi.py
index f5ab5f4af7d63f9dad52b8bd34fa130835d7ab17..7c8cb21c2c5619b4809f5daf8605958a808eccb9 100644
(file)
--- 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(