[yahoo] Make thumbnail optional (Closes #3043)
authorSergey M․ <dstftw@gmail.com>
Wed, 4 Jun 2014 13:11:23 +0000 (20:11 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 4 Jun 2014 13:11:23 +0000 (20:11 +0700)
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'),
         }