aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-06-09 15:21:34 +0100
committergarret <garret@airmail.cc>2023-06-09 15:21:53 +0100
commitaf3ef460c37a9397be4175730ce5627c6c215f03 (patch)
tree265d3b154a811c1f8e85928773f5a99ebb9af545 /yt_dlp_plugins/extractor/radiko.py
parent5ad86df73f378d2234ac9d565df26ece7c33ccf3 (diff)
downloadyt-dlp-rajiko-af3ef460c37a9397be4175730ce5627c6c215f03.tar.gz
yt-dlp-rajiko-af3ef460c37a9397be4175730ce5627c6c215f03.tar.bz2
yt-dlp-rajiko-af3ef460c37a9397be4175730ce5627c6c215f03.zip
relax station ID regex
FM_OKINAWA, FM_OITA
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rwxr-xr-xyt_dlp_plugins/extractor/radiko.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py
index 713d22e..634c893 100755
--- a/yt_dlp_plugins/extractor/radiko.py
+++ b/yt_dlp_plugins/extractor/radiko.py
@@ -550,7 +550,7 @@ class _RadikoBaseIE(InfoExtractor):
class RadikoLiveIE(_RadikoBaseIE):
- _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/live/(?P<id>[A-Z0-9-]+)"
+ _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/live/(?P<id>[A-Z0-9-_]+)"
_TESTS = [{
# JP13 (Tokyo)
"url": "https://radiko.jp/#!/live/FMT",
@@ -616,7 +616,7 @@ class RadikoLiveIE(_RadikoBaseIE):
class RadikoTimeFreeIE(_RadikoBaseIE):
- _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+)"
_TESTS = [{
"url": "https://radiko.jp/#!/ts/INT/20230505230000",
"info_dict": {