projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c1255
)
[tumblr] Dismiss warnings for optional fields (fixes #5202)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 15 Apr 2015 09:45:28 +0000
(17:45 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 15 Apr 2015 09:45:28 +0000
(17:45 +0800)
youtube_dl/extractor/tumblr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tumblr.py
b/youtube_dl/extractor/tumblr.py
index 2a1ae5a717cf7b2af16bf5a1ce3ef7494e28a7a6..828c808a6456b6b99b134cb7ae9d9017de9ad3aa 100644
(file)
--- a/
youtube_dl/extractor/tumblr.py
+++ b/
youtube_dl/extractor/tumblr.py
@@
-56,6
+56,6
@@
class TumblrIE(InfoExtractor):
'url': video_url,
'ext': 'mp4',
'title': video_title,
- 'description': self._og_search_description(webpage),
- 'thumbnail': self._og_search_thumbnail(webpage),
+ 'description': self._og_search_description(webpage
, default=None
),
+ 'thumbnail': self._og_search_thumbnail(webpage
, default=None
),
}