From 3fc46086562857d5493cbcff687f76e4e4ed303f Mon Sep 17 00:00:00 2001 From: cotko Date: Mon, 20 Jan 2025 07:53:21 +0100 Subject: [PATCH] [ie/rtvslo.si:show] Extract more metadata (#12136) Authored by: cotko --- yt_dlp/extractor/rtvslo.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/rtvslo.py b/yt_dlp/extractor/rtvslo.py index 49bebb178a..b190d179f7 100644 --- a/yt_dlp/extractor/rtvslo.py +++ b/yt_dlp/extractor/rtvslo.py @@ -176,6 +176,8 @@ class RTVSLOShowIE(InfoExtractor): 'info_dict': { 'id': '173250997', 'title': 'Ekipa Bled', + 'description': 'md5:c88471e27a1268c448747a5325319ab7', + 'thumbnail': 'https://img.rtvcdn.si/_up/ava/ava_misc/show_logos/173250997/logo_wide1.jpg', }, 'playlist_count': 18, }] @@ -187,4 +189,7 @@ def _real_extract(self, url): return self.playlist_from_matches( re.findall(r']*\bhref="(/arhiv/[^"]+)"', webpage), playlist_id, self._html_extract_title(webpage), - getter=urljoin('https://365.rtvslo.si'), ie=RTVSLOIE) + getter=urljoin('https://365.rtvslo.si'), ie=RTVSLOIE, + description=self._og_search_description(webpage), + thumbnail=self._og_search_thumbnail(webpage), + )