projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd81028
)
[democracynow] Prevent required fields to be None
author
Yen Chi Hsuan
<yan12125@gmail.com>
Tue, 3 Nov 2015 16:13:00 +0000
(
00:13
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Tue, 3 Nov 2015 16:13:00 +0000
(
00:13
+0800)
youtube_dl/extractor/democracynow.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/democracynow.py
b/youtube_dl/extractor/democracynow.py
index 72fc75d80cf7fe105d99a7147204bdd12885e4bf..6cd395e1169d8253c589efe3da2d24f1632b0356 100644
(file)
--- 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,