mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 18:41:29 +00:00
[vube] Make video description optional as it may be missing
This commit is contained in:
parent
37c1525c17
commit
f46359121f
|
@ -45,7 +45,7 @@ def _real_extract(self, url):
|
|||
self._sort_formats(formats)
|
||||
|
||||
title = video['title']
|
||||
description = video['description']
|
||||
description = video.get('description')
|
||||
thumbnail = video['thumbnail_src']
|
||||
if thumbnail.startswith('//'):
|
||||
thumbnail = 'http:' + thumbnail
|
||||
|
|
Loading…
Reference in a new issue