diff options
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 85a17c8..12db23b 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -685,6 +685,20 @@ class RadikoStationButtonIE(InfoExtractor): class RadikoPersonIE(InfoExtractor): _VALID_URL = r"https?://(?:www\.)?radiko\.jp/persons/(?P<id>\d+)" + _TESTS = [{ + "url": "https://radiko.jp/persons/11421", + "playlist_mincount": 10, + "info_dict": { + "id": "person-11421", + }, + },{ + "url": "https://radiko.jp/persons/11421", + "params": {'extractor_args': {'rajiko': {'key_station_only': ['']}}}, + "playlist_count": 1, + "info_dict": { + "id": "person-11421", + }, + }] def _real_extract(self, url): person_id = self._match_id(url) |