mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[ie/Reddit] Fix thumbnail extraction
Authored by: bashonly
This commit is contained in:
parent
ba06d77a31
commit
9a04113dfb
@ -240,6 +240,7 @@ def add_thumbnail(src):
|
||||
'url': unescapeHTML(thumbnail_url),
|
||||
'width': int_or_none(src.get('width')),
|
||||
'height': int_or_none(src.get('height')),
|
||||
'http_headers': {'Accept': '*/*'},
|
||||
})
|
||||
|
||||
for image in try_get(data, lambda x: x['preview']['images']) or []:
|
||||
|
Loading…
Reference in New Issue
Block a user