From 867bf965bbe7c30a4fc0d4964dee9957d140a0a1 Mon Sep 17 00:00:00 2001 From: lonm Date: Tue, 15 Oct 2024 14:23:47 +0100 Subject: [PATCH] [RadioFrance] Fix playlist api parse --- yt_dlp/extractor/radiofrance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/radiofrance.py b/yt_dlp/extractor/radiofrance.py index 9c90c3f4e..0d071ceef 100644 --- a/yt_dlp/extractor/radiofrance.py +++ b/yt_dlp/extractor/radiofrance.py @@ -274,7 +274,7 @@ class RadioFrancePlaylistBaseIE(RadioFranceBaseIE): for page_num in itertools.count(2): for entry in content_response['items']: yield self.url_result( - f'https://www.radiofrance.fr/{entry["path"]}', url_transparent=True, **traverse_obj(entry, { + f'https://www.radiofrance.fr{entry["link"]}', url_transparent=True, **traverse_obj(entry, { 'title': 'title', 'description': 'standFirst', 'timestamp': ('publishedDate', {int_or_none}), @@ -323,7 +323,7 @@ class RadioFrancePodcastIE(RadioFrancePlaylistBaseIE): 'id': 'eaf6ef81-a980-4f1c-a7d1-8a75ecd54b17', 'display_id': 'le-billet-vert', 'title': 'Le billet sciences', - 'description': 'md5:eb1007b34b0c0a680daaa71525bbd4c1', + 'description': 'md5:85d5ce8c488192e71904c551d595f4da', 'thumbnail': r're:^https?://.*\.(?:jpg|png)', }, 'playlist_mincount': 11,