diff options
author | garret <garret@airmail.cc> | 2023-07-15 16:29:41 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2023-07-15 16:29:41 +0100 |
commit | c023fb38eda2e187c0fab4ed3a731a8609613638 (patch) | |
tree | 8d2687afc7811afe4f9c830db315cb50d55c4802 /yt_dlp_plugins/extractor/radiko.py | |
parent | a6a5befebafced40da8dd0582a6c486b56184b22 (diff) | |
download | yt-dlp-rajiko-c023fb38eda2e187c0fab4ed3a731a8609613638.tar.gz yt-dlp-rajiko-c023fb38eda2e187c0fab4ed3a731a8609613638.tar.bz2 yt-dlp-rajiko-c023fb38eda2e187c0fab4ed3a731a8609613638.zip |
update search tests
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rwxr-xr-x | yt_dlp_plugins/extractor/radiko.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index ebe3265..2314079 100755 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -826,7 +826,7 @@ class RadikoTimeFreeIE(_RadikoBaseIE): class RadikoSearchIE(_RadikoBaseIE): _VALID_URL = r"https?://(?:www\.)?radiko\.jp/#!/search/(?:timeshift|live|history)\?" _TESTS = [{ - # past, specific area + # timefree, specific area 'url': 'https://radiko.jp/#!/search/live?key=city%20chill%20club&filter=past&start_day=&end_day=®ion_id=&area_id=JP13&cul_area_id=JP13&page_idx=0', 'playlist_mincount': 4, 'info_dict': { @@ -834,21 +834,21 @@ class RadikoSearchIE(_RadikoBaseIE): 'title': "city chill club", } }, { - # all, specific day - "url": "https://radiko.jp/#!/search/live?key=CIAO%20765(7%E6%99%82%E5%8F%B0)&filter=&start_day=2023-06-12&end_day=2023-06-12®ion_id=all&area_id=JP13&cul_area_id=JP13&page_idx=0", - "playlist_mincount": 1, - "info_dict": { - "id": "CIAO 765(7時台)-all-2023-06-12-all", - "title": "CIAO 765(7時台)", - } - }, { - # all, live/future + # live/future, whole country "url": "https://radiko.jp/#!/search/live?key=%EF%BC%AE%EF%BC%A8%EF%BC%AB%E3%83%8B%E3%83%A5%E3%83%BC%E3%82%B9&filter=future&start_day=&end_day=®ion_id=all&area_id=JP13&cul_area_id=JP13&page_idx=0", "playlist_mincount": 8, "info_dict": { "id": "NHKニュース-future-all-all", "title": "NHKニュース", }, + }, { + # ludicrous amount of results (multi-page) + "url": "https://radiko.jp/#!/search/live?key=%E3%83%8B%E3%83%A5%E3%83%BC%E3%82%B9", + "playlist_mincount": 100, + "info_dict": { + "id": "ニュース-all-all", + "title": "ニュース" + }, }] def _strip_date(self, date): |