1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-23 22:26:53 +01:00

[democracynow] Prevent required fields to be None

This commit is contained in:
Yen Chi Hsuan 2015-11-04 00:13:00 +08:00
parent fd8102820c
commit 0aeb9a106e

View File

@ -80,8 +80,8 @@ class DemocracynowIE(InfoExtractor):
self._sort_formats(formats)
return {
'id': video_id,
'title': json_data.get('title'),
'id': video_id or display_id,
'title': json_data['title'],
'description': description,
'subtitles': subtitles,
'formats': formats,