From db47787024bd708a544f6d05a4d5eabb1bc34f60 Mon Sep 17 00:00:00 2001 From: Alexander Simon Date: Tue, 4 Jan 2022 09:13:20 +0100 Subject: [PATCH] [hrfernsehen] Fix ardloader extraction (#2217) Authored by: CreaValix --- yt_dlp/extractor/hrfensehen.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/yt_dlp/extractor/hrfensehen.py b/yt_dlp/extractor/hrfensehen.py index 2a994d471..e39ded254 100644 --- a/yt_dlp/extractor/hrfensehen.py +++ b/yt_dlp/extractor/hrfensehen.py @@ -26,13 +26,7 @@ class HRFernsehenIE(InfoExtractor): }]}, 'timestamp': 1598470200, 'upload_date': '20200826', - 'thumbnails': [{ - 'url': 'https://www.hessenschau.de/tv-sendung/hs_ganz-1554~_t-1598465545029_v-16to9.jpg', - 'id': '0' - }, { - 'url': 'https://www.hessenschau.de/tv-sendung/hs_ganz-1554~_t-1598465545029_v-16to9__medium.jpg', - 'id': '1' - }], + 'thumbnail': 'https://www.hessenschau.de/tv-sendung/hs_ganz-1554~_t-1598465545029_v-16to9__medium.jpg', 'title': 'hessenschau vom 26.08.2020' } }, { @@ -81,7 +75,7 @@ def _real_extract(self, url): description = self._html_search_meta( ['description'], webpage) - loader_str = unescapeHTML(self._search_regex(r"data-hr-mediaplayer-loader='([^']*)'", webpage, "ardloader")) + loader_str = unescapeHTML(self._search_regex(r"data-new-hr-mediaplayer-loader='([^']*)'", webpage, "ardloader")) loader_data = json.loads(loader_str) info = {