mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
[npo] Allow missing description
This commit is contained in:
parent
5ba761eb85
commit
536b0700b0
@ -237,7 +237,7 @@ def _get_info(self, video_id):
|
|||||||
# prefer aflevering_titel if any since titel may be too generic, e.g.
|
# prefer aflevering_titel if any since titel may be too generic, e.g.
|
||||||
# http://tegenlicht.vpro.nl/afleveringen/2014-2015/access-to-africa.html
|
# http://tegenlicht.vpro.nl/afleveringen/2014-2015/access-to-africa.html
|
||||||
'title': metadata.get('aflevering_titel') or metadata['titel'],
|
'title': metadata.get('aflevering_titel') or metadata['titel'],
|
||||||
'description': metadata['info'],
|
'description': metadata.get('info'),
|
||||||
'thumbnail': metadata.get('images', [{'url': None}])[-1]['url'],
|
'thumbnail': metadata.get('images', [{'url': None}])[-1]['url'],
|
||||||
'upload_date': unified_strdate(metadata.get('gidsdatum')),
|
'upload_date': unified_strdate(metadata.get('gidsdatum')),
|
||||||
'duration': parse_duration(metadata.get('tijdsduur')),
|
'duration': parse_duration(metadata.get('tijdsduur')),
|
||||||
|
Loading…
Reference in New Issue
Block a user