Skip to content

A feature-rich command-line audio/video downloader

[yahoo] Make thumbnail optional (Closes #3043)

Sergey M․6340716b3ac7
diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py
index 393f6ffbe3..c95c59db89 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'),
}