From 536b0700b03f0b29a1025be0b7753253bd627d6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Fri, 17 Jul 2015 00:40:04 +0600 Subject: [PATCH] [npo] Allow missing description --- youtube_dl/extractor/npo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py index 91adb23f0..e733d96f6 100644 --- a/youtube_dl/extractor/npo.py +++ b/youtube_dl/extractor/npo.py @@ -237,7 +237,7 @@ class NPOIE(NPOBaseIE): # prefer aflevering_titel if any since titel may be too generic, e.g. # http://tegenlicht.vpro.nl/afleveringen/2014-2015/access-to-africa.html 'title': metadata.get('aflevering_titel') or metadata['titel'], - 'description': metadata['info'], + 'description': metadata.get('info'), 'thumbnail': metadata.get('images', [{'url': None}])[-1]['url'], 'upload_date': unified_strdate(metadata.get('gidsdatum')), 'duration': parse_duration(metadata.get('tijdsduur')), -- 2.22.2