1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-25 11:53:21 +08:00

[jeuvideo.com] Modify the attribut data-src in data-srcset-video

This commit is contained in:
kadogo 2016-03-05 15:19:36 +01:00
parent 51ce91174b
commit 2b2e1df107

View 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-srcset-video="(/contenu/medias/video.php.*?)"',
webpage, 'config URL')
config_url = 'http://www.jeuxvideo.com' + config_url