projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c968f73
)
[ivi:compilation] Fix entries extraction (closes #23770)
author
Sergey M․
<dstftw@gmail.com>
Sat, 18 Jan 2020 07:46:38 +0000
(14:46 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 18 Jan 2020 07:46:38 +0000
(14:46 +0700)
youtube_dl/extractor/ivi.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ivi.py
b/youtube_dl/extractor/ivi.py
index a502e88066850b14de284e6e3ec7d47ea9397f3d..b5a740a01e1d360ca667869edef88f85e3559842 100644
(file)
--- a/
youtube_dl/extractor/ivi.py
+++ b/
youtube_dl/extractor/ivi.py
@@
-239,7
+239,7
@@
class IviCompilationIE(InfoExtractor):
self.url_result(
'http://www.ivi.ru/watch/%s/%s' % (compilation_id, serie), IviIE.ie_key())
for serie in re.findall(
- r'<a
href="/watch/%s/(\d+)"[^>]+data-id="\1"
' % compilation_id, html)]
+ r'<a
\b[^>]+\bhref=["\']/watch/%s/(\d+)["\']
' % compilation_id, html)]
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)