mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[extractor/common] Improve thumbnail extraction from JSON-LD
This commit is contained in:
parent
8b1aeadc33
commit
f076d7972c
1 changed files with 1 additions and 1 deletions
|
@ -886,7 +886,7 @@ def _json_ld(self, json_ld, video_id, fatal=True, expected_type=None):
|
|||
'url': e.get('contentUrl'),
|
||||
'title': unescapeHTML(e.get('name')),
|
||||
'description': unescapeHTML(e.get('description')),
|
||||
'thumbnail': e.get('thumbnailUrl'),
|
||||
'thumbnail': e.get('thumbnailUrl') or e.get('thumbnailURL'),
|
||||
'duration': parse_duration(e.get('duration')),
|
||||
'timestamp': unified_timestamp(e.get('uploadDate')),
|
||||
'filesize': float_or_none(e.get('contentSize')),
|
||||
|
|
Loading…
Reference in a new issue