commit: d9a2f8679136228ddead5f09bb17e006cccaeffe
parent c968f738df8e21d7a7f2f86f697207e0476b76ef
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 18 Jan 2020 14:46:38 +0700
[ivi:compilation] Fix entries extraction (closes #23770)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)