Browse Source

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

master
dst 10 years ago
parent
commit
f46359121f
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/vube.py

2
youtube_dl/extractor/vube.py

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

Loading…
Cancel
Save