commit 1e501f6c40cc5e1bd84c0432a323f87f49e18ad0
parent 2629a3802c019168340b9345b21b656f48e360fc
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 5 Mar 2016 21:01:43 +0600
[jeuxvideo] Fix config URL extraction (Closes #8774)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/jeuxvideo.py b/youtube_dl/extractor/jeuxvideo.py
@@ -30,7 +30,7 @@ class JeuxVideoIE(InfoExtractor):
webpage = self._download_webpage(url, title)
title = self._html_search_meta('name', webpage) or self._og_search_title(webpage)
config_url = self._html_search_regex(
- r'data-src="(/contenu/medias/video.php.*?)"',
+ r'data-src(?:set-video)?="(/contenu/medias/video.php.*?)"',
webpage, 'config URL')
config_url = 'http://www.jeuxvideo.com' + config_url