From af3ef460c37a9397be4175730ce5627c6c215f03 Mon Sep 17 00:00:00 2001 From: garret Date: Fri, 9 Jun 2023 15:21:34 +0100 Subject: relax station ID regex FM_OKINAWA, FM_OITA --- yt_dlp_plugins/extractor/radiko.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp_plugins/extractor') 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[A-Z0-9-]+)" + _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/live/(?P[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[A-Z0-9-]+)/(?P\d+)" + _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/ts/(?P[A-Z0-9-_]+)/(?P\d+)" _TESTS = [{ "url": "https://radiko.jp/#!/ts/INT/20230505230000", "info_dict": { -- cgit v1.2.3-70-g09d2