diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-17 00:40:04 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-17 00:40:04 +0600 |
commit | 536b0700b03f0b29a1025be0b7753253bd627d6b (patch) | |
tree | 8da7cd61b077c9085a1fdd90c07bf11cb575709c /youtube_dl/extractor | |
parent | 5ba761eb854d6e415b3ab542293cb31c073dc0f3 (diff) |
[npo] Allow missing description
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/npo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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')), |