serves me right for not testing my own suggestion

This commit is contained in:
bashonly 2025-06-01 19:15:08 +00:00 committed by GitHub
parent b7fb448179
commit 13d44faab6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1675,7 +1675,7 @@ class InfoExtractor:
'ext': mimetype2ext(e.get('encodingFormat')),
'title': unescapeHTML(e.get('name')),
'description': unescapeHTML(e.get('description')),
'thumbnails': traverse_obj(e, (('thumbnailUrl', 'thumbnailURL', 'thumbnail_url'), {
'thumbnails': traverse_obj(e, (('thumbnailUrl', 'thumbnailURL', 'thumbnail_url'), (None, ...), {
'url': ({str}, {unescapeHTML}, {self._proto_relative_url}, {url_or_none}),
})),
'duration': parse_duration(e.get('duration')),