Browse Source

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

master
Sergey M․ 8 years ago
parent
commit
1e501f6c40
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/jeuxvideo.py

2
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

Loading…
Cancel
Save