diff options
author | garret <garret@airmail.cc> | 2024-08-06 08:42:46 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-08-06 15:29:05 +0100 |
commit | 210f3a8678c88b95c1fc568de6aaff49e1584144 (patch) | |
tree | afcac281536825901604f67a9e5c3015e6eb6079 | |
parent | e886d693df1f6676601e119a7408db864d7eed43 (diff) | |
download | yt-dlp-rajiko-210f3a8678c88b95c1fc568de6aaff49e1584144.tar.gz yt-dlp-rajiko-210f3a8678c88b95c1fc568de6aaff49e1584144.tar.bz2 yt-dlp-rajiko-210f3a8678c88b95c1fc568de6aaff49e1584144.zip |
add mobile support in persons extractor
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 7d06d37..ea33d2d 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -685,7 +685,7 @@ class RadikoStationButtonIE(InfoExtractor): class RadikoPersonIE(InfoExtractor): - _VALID_URL = r"https?://(?:www\.)?radiko\.jp/persons/(?P<id>\d+)" + _VALID_URL = r"https?://(?:www\.)?radiko\.jp/(?:mobile/)?persons/(?P<id>\d+)" _TESTS = [{ "url": "https://radiko.jp/persons/11421", "playlist_mincount": 10, @@ -693,7 +693,7 @@ class RadikoPersonIE(InfoExtractor): "id": "person-11421", }, },{ - "url": "https://radiko.jp/persons/11421", + "url": "https://radiko.jp/mobile/persons/11421", "params": {'extractor_args': {'rajiko': {'key_station_only': ['']}}}, "playlist_count": 1, "info_dict": { |