[vube] Make video description optional as it may be missing

pull/2/head
dst 11 years ago
parent 37c1525c17
commit f46359121f

@ -45,7 +45,7 @@ class VubeIE(InfoExtractor):
self._sort_formats(formats) self._sort_formats(formats)
title = video['title'] title = video['title']
description = video['description'] description = video.get('description')
thumbnail = video['thumbnail_src'] thumbnail = video['thumbnail_src']
if thumbnail.startswith('//'): if thumbnail.startswith('//'):
thumbnail = 'http:' + thumbnail thumbnail = 'http:' + thumbnail

Loading…
Cancel
Save