[democracynow] Prevent required fields to be None

pull/2/head
Yen Chi Hsuan 9 years ago
parent fd8102820c
commit 0aeb9a106e

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

Loading…
Cancel
Save