Преглед изворни кода

[yahoo] Make thumbnail optional (Closes #3043)

Sergey M․ пре 11 година
родитељ
комит
6340716b3a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      youtube_dl/extractor/yahoo.py

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