|
|
@ -1675,9 +1675,9 @@ class InfoExtractor:
|
|
|
|
'ext': mimetype2ext(e.get('encodingFormat')),
|
|
|
|
'ext': mimetype2ext(e.get('encodingFormat')),
|
|
|
|
'title': unescapeHTML(e.get('name')),
|
|
|
|
'title': unescapeHTML(e.get('name')),
|
|
|
|
'description': unescapeHTML(e.get('description')),
|
|
|
|
'description': unescapeHTML(e.get('description')),
|
|
|
|
'thumbnails': [{'url': unescapeHTML(url)}
|
|
|
|
'thumbnails': traverse_obj(e, (('thumbnailUrl', 'thumbnailURL', 'thumbnail_url'), (None, ...), {
|
|
|
|
for url in variadic(traverse_obj(e, 'thumbnailUrl', 'thumbnailURL'))
|
|
|
|
'url': ({str}, {unescapeHTML}, {self._proto_relative_url}, {url_or_none}),
|
|
|
|
if url_or_none(url)],
|
|
|
|
})),
|
|
|
|
'duration': parse_duration(e.get('duration')),
|
|
|
|
'duration': parse_duration(e.get('duration')),
|
|
|
|
'timestamp': unified_timestamp(e.get('uploadDate')),
|
|
|
|
'timestamp': unified_timestamp(e.get('uploadDate')),
|
|
|
|
# author can be an instance of 'Organization' or 'Person' types.
|
|
|
|
# author can be an instance of 'Organization' or 'Person' types.
|
|
|
|