[jeuxvideo] Fix config URL extraction (Closes #8774)
authorSergey M․ <dstftw@gmail.com>
Sat, 5 Mar 2016 15:01:43 +0000 (21:01 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 5 Mar 2016 15:01:43 +0000 (21:01 +0600)
youtube_dl/extractor/jeuxvideo.py

index eef7daa299813219c5211aefe2051a1160238319..137db873cc09f7e57b258bcf65b8331d8b36b8c0 100644 (file)
@@ -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