1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-23 23:17:53 +01:00

[videobam] Fix empty title handling

This commit is contained in:
Philipp Hagemeister 2014-03-13 17:03:29 +01:00
parent 87a29e6f25
commit 1e0eb60f1a

View File

@ -29,6 +29,7 @@ class VideoBamIE(InfoExtractor):
'info_dict': {
'id': 'pqLvq',
'ext': 'mp4',
'title': '_',
}
},
]
@ -61,7 +62,7 @@ class VideoBamIE(InfoExtractor):
self._sort_formats(formats)
title = self._og_search_title(page, default='VideoBam', fatal=False)
title = self._og_search_title(page, default='_', fatal=False)
description = self._og_search_description(page, default=None)
thumbnail = self._og_search_thumbnail(page)
uploader = self._html_search_regex(r'Upload by ([^<]+)</a>', page, 'uploader', fatal=False, default=None)