diff options
author | garret1317 <garret@airmail.cc> | 2025-03-06 07:33:54 +0000 |
---|---|---|
committer | garret1317 <garret@airmail.cc> | 2025-03-06 07:42:05 +0000 |
commit | 23effbcd8c423018b2b104125509806b36ee0985 (patch) | |
tree | 7cf5022030d13bb762d7d077d5ff14656e3df5d6 | |
parent | d7aaaaf00397634eeaf7dec7b91d57d1b64bd30a (diff) | |
download | yt-dlp-rajiko-23effbcd8c423018b2b104125509806b36ee0985.tar.gz yt-dlp-rajiko-23effbcd8c423018b2b104125509806b36ee0985.tar.bz2 yt-dlp-rajiko-23effbcd8c423018b2b104125509806b36ee0985.zip |
switch to different search API url observed on site
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
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 2 |
1 files changed, 1 insertions, 1 deletions
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", |