1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 10:29:28 +00:00

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

This commit is contained in:
dst 2014-02-02 12:03:55 +07:00
parent 37c1525c17
commit f46359121f

View file

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