[yahoo] Make thumbnail optional (Closes #3043)
[youtube-dl] / youtube_dl / extractor / yahoo.py
index 393f6ffbe316f4a9dde25ad219f5c0cc00f82a91..c95c59db89c6e27e4cc83ab94f2c9134e783bb77 100644 (file)
@@ -113,7 +113,7 @@ class YahooIE(InfoExtractor):
             'title': meta['title'],
             'formats': formats,
             'description': clean_html(meta['description']),
-            'thumbnail': meta['thumbnail'],
+            'thumbnail': meta.get('thumbnail'),
         }