diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-10-16 08:44:19 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-10-16 08:44:19 +0600 |
commit | 6744f36db710eebe2ccc633e7f4f6132b968b0ec (patch) | |
tree | a3c7f02b0ec8e4240176e316eae6b4b11d40c882 /youtube_dl | |
parent | fafc7950e2230bf25ac7c7563f1704cf8f134f64 (diff) |
[jeuxvideo] Fallback on og:title (Closes #7186, closes #7190)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/jeuxvideo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/jeuxvideo.py b/youtube_dl/extractor/jeuxvideo.py index 1df084d87..eef7daa29 100644 --- 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') |