logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 6744f36db710eebe2ccc633e7f4f6132b968b0ec
parent fafc7950e2230bf25ac7c7563f1704cf8f134f64
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 16 Oct 2015 08:44:19 +0600

[jeuxvideo] Fallback on og:title (Closes #7186, closes #7190)

Diffstat:

Myoutube_dl/extractor/jeuxvideo.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/jeuxvideo.py b/youtube_dl/extractor/jeuxvideo.py @@ -28,7 +28,7 @@ class JeuxVideoIE(InfoExtractor): mobj = re.match(self._VALID_URL, url) title = mobj.group(1) webpage = self._download_webpage(url, title) - title = self._html_search_meta('name', webpage) + 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.*?)"', webpage, 'config URL')