From 38d86f4d45cf2b764f79141c602356fbb426a4b6 Mon Sep 17 00:00:00 2001 From: bubbleguuum Date: Sun, 19 Jun 2022 03:36:14 +0200 Subject: [PATCH] [extractor/radiofrance] Add more radios (#4065) Closes #4087 Authored by: bubbleguuum --- yt_dlp/extractor/radiofrance.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/radiofrance.py b/yt_dlp/extractor/radiofrance.py index 0972f2c4f..7b60b2617 100644 --- a/yt_dlp/extractor/radiofrance.py +++ b/yt_dlp/extractor/radiofrance.py @@ -58,7 +58,7 @@ class RadioFranceIE(InfoExtractor): class FranceCultureIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?radiofrance\.fr/franceculture/podcasts/(?:[^?#]+/)?(?P[^?#]+)-(?P\d+)($|[?#])' + _VALID_URL = r'https?://(?:www\.)?radiofrance\.fr/(?:franceculture|fip|francemusique|mouv|franceinter)/podcasts/(?:[^?#]+/)?(?P[^?#]+)-(?P\d+)($|[?#])' _TESTS = [ { 'url': 'https://www.radiofrance.fr/franceculture/podcasts/science-en-questions/la-physique-d-einstein-aiderait-elle-a-comprendre-le-cerveau-8440487', @@ -73,6 +73,10 @@ class FranceCultureIE(InfoExtractor): 'duration': 2750, }, }, + { + 'url': 'https://www.radiofrance.fr/franceinter/podcasts/la-rafle-du-vel-d-hiv-une-affaire-d-etat/les-racines-du-crime-episode-1-3715507', + 'only_matching': True, + } ] def _real_extract(self, url):