1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[tumblr] Dismiss warnings for optional fields (fixes #5202)

This commit is contained in:
Yen Chi Hsuan 2015-04-15 17:45:28 +08:00
parent 94c1255782
commit ae849ca170

View file

@ -56,6 +56,6 @@ class TumblrIE(InfoExtractor):
'url': video_url, 'url': video_url,
'ext': 'mp4', 'ext': 'mp4',
'title': video_title, 'title': video_title,
'description': self._og_search_description(webpage), 'description': self._og_search_description(webpage, default=None),
'thumbnail': self._og_search_thumbnail(webpage), 'thumbnail': self._og_search_thumbnail(webpage, default=None),
} }