[ie/Reddit] Fix thumbnail extraction
Authored by: bashonly
This commit is contained in:
parent
ba06d77a31
commit
9a04113dfb
1 changed files with 1 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ class RedditIE(InfoExtractor):
|
||||||
'url': unescapeHTML(thumbnail_url),
|
'url': unescapeHTML(thumbnail_url),
|
||||||
'width': int_or_none(src.get('width')),
|
'width': int_or_none(src.get('width')),
|
||||||
'height': int_or_none(src.get('height')),
|
'height': int_or_none(src.get('height')),
|
||||||
|
'http_headers': {'Accept': '*/*'},
|
||||||
})
|
})
|
||||||
|
|
||||||
for image in try_get(data, lambda x: x['preview']['images']) or []:
|
for image in try_get(data, lambda x: x['preview']['images']) or []:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue