projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c1525
)
[vube] Make video description optional as it may be missing
author
dst
<dstftw@gmail.com>
Sun, 2 Feb 2014 05:03:55 +0000
(12:03 +0700)
committer
dst
<dstftw@gmail.com>
Sun, 2 Feb 2014 05:03:55 +0000
(12:03 +0700)
youtube_dl/extractor/vube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vube.py
b/youtube_dl/extractor/vube.py
index 101ded5903ea2684ae18c8168fba23cc4b4b1fbd..2aaa4e7224d2f1cb2e86c7878b933e932913e9d0 100644
(file)
--- a/
youtube_dl/extractor/vube.py
+++ b/
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