From: Sergey M․ Date: Wed, 12 Aug 2015 19:00:25 +0000 (+0600) Subject: [rtvnh] Make thumbnail optional X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f196047832a2da74d5adf75759877b5d95ec5b5b;p=youtube-dl [rtvnh] Make thumbnail optional --- diff --git a/youtube_dl/extractor/rtvnh.py b/youtube_dl/extractor/rtvnh.py index 998a3c53d..d576a3410 100644 --- a/youtube_dl/extractor/rtvnh.py +++ b/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 }