mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-03 18:10:10 +09:00
By default, use playlist description for video. If a short_description exists for a video (likely an interview), use that instead.
This commit is contained in:
parent
1487c0d868
commit
09014a88ca
@ -88,8 +88,12 @@ class DigitalConcertHallIE(InfoExtractor):
|
||||
'duration': duration,
|
||||
'timestamp': timestamp,
|
||||
})
|
||||
# use playlist description for video description by default
|
||||
# but if the video has a description, use it
|
||||
if vid_info_dict.get('short_description'):
|
||||
entries[-1]['description'] = vid_info_dict.get('short_description')
|
||||
entries[-1]['description'] = vid_info_dict.get('short_description', "missing description")
|
||||
if vid_info.get('short_description'):
|
||||
entries[-1]['description'] = vid_info.get('short_description', "missing description")
|
||||
if vid_info.get('cuepoints'):
|
||||
chapters = []
|
||||
for chapter in vid_info.get('cuepoints'):
|
||||
|
Loading…
Reference in New Issue
Block a user