diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-04-15 17:45:28 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-04-15 17:45:28 +0800 |
commit | ae849ca1701dc5bdf25e648a57a1e6ec64f2f968 (patch) | |
tree | 52495c8861e27752d31f24f4d4f00e07fe1a3e9b | |
parent | 94c1255782414cdcda565717e31c91734ec00990 (diff) |
[tumblr] Dismiss warnings for optional fields (fixes #5202)
-rw-r--r-- | youtube_dl/extractor/tumblr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/tumblr.py b/youtube_dl/extractor/tumblr.py index 2a1ae5a71..828c808a6 100644 --- 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), } |