1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 04:57:19 +08:00

Support for untitled videos (Issue #7186)

title is set to 'untitled' rather than None, which throws an error
This commit is contained in:
Cian Ruane 2015-10-16 00:07:31 +01:00
parent fafc7950e2
commit e5b81a68ea

View File

@ -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')