From 23effbcd8c423018b2b104125509806b36ee0985 Mon Sep 17 00:00:00 2001 From: garret1317 Date: Thu, 6 Mar 2025 07:33:54 +0000 Subject: switch to different search API url observed on site MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no change in the response structure*, just the URL afaict (stuff doesnt break at least) interestingly the headers have started including GRPC stuff though *but the search _results_ seem to have changed somewhat had to change my search for ジャズ倶楽部 to specifically ジャズ倶楽部 CRT because loads of results had "ジャズ・クラブ" - not katakana クラブ not kanji 倶楽部 maybe its not changed and i just got unlucky lol --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 9ca353b..a06b1e4 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -614,7 +614,7 @@ class RadikoSearchIE(InfoExtractor): # site used to use "cul_area_id" in the search url, now it uses "cur_area_id" (with an r) # and outright rejects the old one with HTTP Error 415: Unsupported Media Type - search_url = update_url_query("https://radiko.jp/v3/api/program/search", { + search_url = update_url_query("https://api.annex-cf.radiko.jp/v1/programs/legacy/perl/program/search", { **queries, "uid": "".join(random.choices("0123456789abcdef", k=32)), "app_id": "pc", -- cgit v1.2.3-70-g09d2