]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vube] Make video description optional as it may be missing
authordst <dstftw@gmail.com>
Sun, 2 Feb 2014 05:03:55 +0000 (12:03 +0700)
committerdst <dstftw@gmail.com>
Sun, 2 Feb 2014 05:03:55 +0000 (12:03 +0700)
youtube_dl/extractor/vube.py

index 101ded5903ea2684ae18c8168fba23cc4b4b1fbd..2aaa4e7224d2f1cb2e86c7878b933e932913e9d0 100644 (file)
@@ -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