diff options
| author | garret1317 <garret@airmail.cc> | 2025-11-07 00:17:25 +0000 |
|---|---|---|
| committer | garret1317 <garret@airmail.cc> | 2025-11-07 00:17:25 +0000 |
| commit | 68632864f32e47a5f0961d7de32da054d21bf24f (patch) | |
| tree | 07772a559643f7380cb9064887a50d8aa346c187 /yt_dlp_plugins/extractor | |
| parent | 7f0784945a614777666f8a402da19784ef3500f9 (diff) | |
| download | yt-dlp-rajiko-68632864f32e47a5f0961d7de32da054d21bf24f.tar.gz yt-dlp-rajiko-68632864f32e47a5f0961d7de32da054d21bf24f.tar.bz2 yt-dlp-rajiko-68632864f32e47a5f0961d7de32da054d21bf24f.zip | |
match "rdk://station-timestring" url for easier debugging
Diffstat (limited to 'yt_dlp_plugins/extractor')
| -rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index a4cca92..6718201 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -427,7 +427,10 @@ class RadikoLiveIE(_RadikoBaseIE): class RadikoTimeFreeIE(_RadikoBaseIE): _NETRC_MACHINE = "rajiko" - _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/ts/(?P<station>[A-Z0-9-_]+)/(?P<id>\d+)" + _VALID_URL = [ + r"https?://(?:www\.)?radiko\.jp/#!/ts/(?P<station>[A-Z0-9-_]+)/(?P<id>\d+)", + r"rdk://(?P<station>[A-Z0-9-_]+)-(?P<id>\d+)", + ] # TESTS use a custom-ish script that updates the airdates automatically, see contrib/test_extractors.py def _perform_login(self, username, password): |