Browse Source

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

dst 11 năm trước cách đây
mục cha
commit
f46359121f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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