From ae8a5b3c9ffbd0d3d67e662c9b0a7b3171c6356a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20D=C3=BCster?= Date: Tue, 25 Mar 2025 09:34:31 +0100 Subject: [PATCH] fixup! [extractor/VIMP] Rework metadata extraction --- yt_dlp/extractor/videocampus_sachsen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/videocampus_sachsen.py b/yt_dlp/extractor/videocampus_sachsen.py index d68801708..f3bfe9443 100644 --- a/yt_dlp/extractor/videocampus_sachsen.py +++ b/yt_dlp/extractor/videocampus_sachsen.py @@ -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)