1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

fixup! [extractor/VIMP] Rework metadata extraction

This commit is contained in:
Gregor Düster 2025-03-25 09:34:31 +01:00
parent 8bfb39dd57
commit ae8a5b3c9f
No known key found for this signature in database
GPG Key ID: 1B4181FC97673B9D

View File

@ -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)