Browse Source

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

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

+ 1 - 1
youtube_dl/extractor/vube.py

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