瀏覽代碼

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

dst 11 年之前
父節點
當前提交
f46359121f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 
         title = video['title']
-        description = video['description']
+        description = video.get('description')
         thumbnail = video['thumbnail_src']
         if thumbnail.startswith('//'):
             thumbnail = 'http:' + thumbnail