2
0
Эх сурвалжийг харах

[yahoo] Make thumbnail optional (Closes #3043)

Sergey M․ 11 жил өмнө
parent
commit
6340716b3a

+ 1 - 1
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'),
         }