浏览代码

[jeuxvideo] Fix config URL extraction (Closes #8774)

Sergey M․ 9 年之前
父节点
当前提交
1e501f6c40
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/jeuxvideo.py

+ 1 - 1
youtube_dl/extractor/jeuxvideo.py

@@ -30,7 +30,7 @@ class JeuxVideoIE(InfoExtractor):
         webpage = self._download_webpage(url, title)
         webpage = self._download_webpage(url, title)
         title = self._html_search_meta('name', webpage) or self._og_search_title(webpage)
         title = self._html_search_meta('name', webpage) or self._og_search_title(webpage)
         config_url = self._html_search_regex(
         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')
             webpage, 'config URL')
         config_url = 'http://www.jeuxvideo.com' + config_url
         config_url = 'http://www.jeuxvideo.com' + config_url