[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, 'formats': formats,
'description': info.get('videoDescription'), 'description': info.get('videoDescription'),
'thumbnail': url_or_none(try_get( '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')), 'duration': parse_duration(info.get('videoRuntime')),
} }