From: Yen Chi Hsuan Date: Wed, 15 Apr 2015 09:45:28 +0000 (+0800) Subject: [tumblr] Dismiss warnings for optional fields (fixes #5202) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=ae849ca1701dc5bdf25e648a57a1e6ec64f2f968;p=youtube-dl.git [tumblr] Dismiss warnings for optional fields (fixes #5202) --- 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), }