mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[instagram] fix thumbnail URL extraction
This commit is contained in:
parent
987d2e079a
commit
a1d6041497
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ def _real_extract(self, url):
|
|||
description = try_get(
|
||||
media, lambda x: x['edge_media_to_caption']['edges'][0]['node']['text'],
|
||||
compat_str) or media.get('caption')
|
||||
thumbnail = media.get('display_src')
|
||||
thumbnail = media.get('display_src') or media.get('thumbnail_src')
|
||||
timestamp = int_or_none(media.get('taken_at_timestamp') or media.get('date'))
|
||||
uploader = media.get('owner', {}).get('full_name')
|
||||
uploader_id = media.get('owner', {}).get('username')
|
||||
|
|
Loading…
Reference in a new issue