mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 08:58:30 +00:00
fixup! [extractor/VIMP] Rework metadata extraction
This commit is contained in:
parent
8bfb39dd57
commit
ae8a5b3c9f
@ -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