mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 01:53:12 +08:00
[democracynow] Prevent required fields to be None
This commit is contained in:
parent
fd8102820c
commit
0aeb9a106e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user