mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-17 18:58:35 +00:00
fixup! [extractor/VIMP] Rework metadata extraction
This commit is contained in:
parent
780229da83
commit
7366221289
@ -211,7 +211,7 @@ def _real_extract(self, url):
|
||||
elif source.get('src'):
|
||||
formats.append({'url': source.get('src')})
|
||||
|
||||
thumbnail = f'https://{host}{metadata.get('poster')}'
|
||||
thumbnail = f'https://{host}{metadata.get("poster")}'
|
||||
video_id = traverse_obj(metadata, ('videojsVimpOptions', 'Mediakey'))
|
||||
else:
|
||||
thumbnail = self._html_search_meta(('og:image', 'twitter:image'), webpage, fatal=False)
|
||||
|
Loading…
Reference in New Issue
Block a user