From: Sergey M․ Date: Wed, 4 Jun 2014 13:11:23 +0000 (+0700) Subject: [yahoo] Make thumbnail optional (Closes #3043) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6340716b3ac75384eecf48025c71380949883b0d;p=youtube-dl [yahoo] Make thumbnail optional (Closes #3043) --- diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py index 393f6ffbe..c95c59db8 100644 --- a/youtube_dl/extractor/yahoo.py +++ b/youtube_dl/extractor/yahoo.py @@ -113,7 +113,7 @@ class YahooIE(InfoExtractor): 'title': meta['title'], 'formats': formats, 'description': clean_html(meta['description']), - 'thumbnail': meta['thumbnail'], + 'thumbnail': meta.get('thumbnail'), }