From e5b81a68ea35a873a32a1568868d01b8d36d1ddc Mon Sep 17 00:00:00 2001 From: Cian Ruane Date: Fri, 16 Oct 2015 00:07:31 +0100 Subject: [PATCH] Support for untitled videos (Issue #7186) title is set to 'untitled' rather than None, which throws an error --- youtube_dl/extractor/jeuxvideo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/jeuxvideo.py b/youtube_dl/extractor/jeuxvideo.py index 1df084d87..e4ec98b10 100644 --- a/youtube_dl/extractor/jeuxvideo.py +++ b/youtube_dl/extractor/jeuxvideo.py @@ -29,6 +29,8 @@ class JeuxVideoIE(InfoExtractor): title = mobj.group(1) webpage = self._download_webpage(url, title) title = self._html_search_meta('name', webpage) + if title == None: + title = 'untitled' config_url = self._html_search_regex( r'data-src="(/contenu/medias/video.php.*?)"', webpage, 'config URL')