aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/democracynow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/democracynow.py b/youtube_dl/extractor/democracynow.py
index 72fc75d80..6cd395e11 100644
--- a/youtube_dl/extractor/democracynow.py
+++ b/youtube_dl/extractor/democracynow.py
@@ -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,