0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[imdb] Fix thumbnail (#1581)

Authored by: ozburo
This commit is contained in:
ozburo 2021-11-09 15:26:57 -06:00 committed by GitHub
parent 9b12e9a573
commit 358247ed2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ def _real_extract(self, url):
'formats': formats,
'description': info.get('videoDescription'),
'thumbnail': url_or_none(try_get(
video_metadata, lambda x: x['videoSlate']['source'])),
info, lambda x: x['videoSlate']['source'])),
'duration': parse_duration(info.get('videoRuntime')),
}