From 210f3a8678c88b95c1fc568de6aaff49e1584144 Mon Sep 17 00:00:00 2001 From: garret Date: Tue, 6 Aug 2024 08:42:46 +0100 Subject: add mobile support in persons extractor --- yt_dlp_plugins/extractor/radiko.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp_plugins') 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\d+)" + _VALID_URL = r"https?://(?:www\.)?radiko\.jp/(?:mobile/)?persons/(?P\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": { -- cgit v1.2.3-70-g09d2