aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbubbleguuum <youp1one1@gmail.com>2022-06-19 03:36:14 +0200
committerGitHub <noreply@github.com>2022-06-18 18:36:14 -0700
commit38d86f4d45cf2b764f79141c602356fbb426a4b6 (patch)
tree9ddb5991b13da8f4e03ebe3a7cb161d116ac5a42
parentf254d6ccd9afd4f3f84bf6cb897bed55517f8229 (diff)
downloadhypervideo-pre-38d86f4d45cf2b764f79141c602356fbb426a4b6.tar.lz
hypervideo-pre-38d86f4d45cf2b764f79141c602356fbb426a4b6.tar.xz
hypervideo-pre-38d86f4d45cf2b764f79141c602356fbb426a4b6.zip
[extractor/radiofrance] Add more radios (#4065)
Closes #4087 Authored by: bubbleguuum
-rw-r--r--yt_dlp/extractor/radiofrance.py6
1 files changed, 5 insertions, 1 deletions
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<display_id>[^?#]+)-(?P<id>\d+)($|[?#])'
+ _VALID_URL = r'https?://(?:www\.)?radiofrance\.fr/(?:franceculture|fip|francemusique|mouv|franceinter)/podcasts/(?:[^?#]+/)?(?P<display_id>[^?#]+)-(?P<id>\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):