瀏覽代碼

[rtvnh] Make thumbnail optional

Sergey M․ 10 年之前
父節點
當前提交
f196047832
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/rtvnh.py

+ 1 - 1
youtube_dl/extractor/rtvnh.py

@@ -35,6 +35,6 @@ class RTVNHIE(InfoExtractor):
         return {
             'id': video_id,
             'title': meta['title'].strip(),
-            'thumbnail': meta['image'],
+            'thumbnail': meta.get('image'),
             'formats': formats
         }