[rtvnh] Make thumbnail optional
authorSergey M․ <dstftw@gmail.com>
Wed, 12 Aug 2015 19:00:25 +0000 (01:00 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 12 Aug 2015 19:00:25 +0000 (01:00 +0600)
youtube_dl/extractor/rtvnh.py

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