aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcotko <cotkocot@gmail.com>2025-01-20 07:53:21 +0100
committerGitHub <noreply@github.com>2025-01-20 07:53:21 +0100
commit3fc46086562857d5493cbcff687f76e4e4ed303f (patch)
treefd325a89da6b5091687655d8547146c650517f09
parent68221ecc87c6a3f3515757bac2a0f9674a38e3f2 (diff)
[ie/rtvslo.si:show] Extract more metadata (#12136)
Authored by: cotko
-rw-r--r--yt_dlp/extractor/rtvslo.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/yt_dlp/extractor/rtvslo.py b/yt_dlp/extractor/rtvslo.py
index 49bebb178..b190d179f 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 @@ class RTVSLOShowIE(InfoExtractor):
return self.playlist_from_matches(
re.findall(r'<a [^>]*\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),
+ )