mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-12 23:07:29 +08:00
[extractor/common] Not all video_data have "title"
This commit is contained in:
parent
0e7f9a9b48
commit
9a061fc8ac
@ -2218,7 +2218,7 @@ class InfoExtractor(object):
|
||||
|
||||
entries.append({
|
||||
'id': this_video_id,
|
||||
'title': video_data['title'] if require_title else video_data.get('title'),
|
||||
'title': video_data.get('title', '') if require_title else '',
|
||||
'description': video_data.get('description'),
|
||||
'thumbnail': self._proto_relative_url(video_data.get('image')),
|
||||
'timestamp': int_or_none(video_data.get('pubdate')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user