aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-08-06 08:42:46 +0100
committergarret <garret@airmail.cc>2024-08-06 15:29:05 +0100
commit210f3a8678c88b95c1fc568de6aaff49e1584144 (patch)
treeafcac281536825901604f67a9e5c3015e6eb6079
parente886d693df1f6676601e119a7408db864d7eed43 (diff)
downloadyt-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.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 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": {