소스 검색

[npo] Allow missing description

Sergey M․ 10 년 전
부모
커밋
536b0700b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube_dl/extractor/npo.py

+ 1 - 1
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')),