瀏覽代碼

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