aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-09-17 01:12:59 +0100
committergarret <garret@airmail.cc>2024-09-17 01:14:25 +0100
commitb1d5e613cda58eb4503abda367c2770588ad7fe9 (patch)
tree138073e73abb23f0dac0a352918d766750d77b22 /yt_dlp_plugins
parent9fb1d45638e2e2b792fa4861c2d33209a69c9706 (diff)
downloadyt-dlp-rajiko-b1d5e613cda58eb4503abda367c2770588ad7fe9.tar.gz
yt-dlp-rajiko-b1d5e613cda58eb4503abda367c2770588ad7fe9.tar.bz2
yt-dlp-rajiko-b1d5e613cda58eb4503abda367c2770588ad7fe9.zip
personsIE: fix API usage that excluded programmes aired today
api ignores end_at_lt, it just sets start_at to the start of the broadcast day the idea was to only get stuff that's actually finished, so only stuff where the end is before now with start_at it'll get ongoing stuff as well, but that's better than not getting the day at all lol
Diffstat (limited to 'yt_dlp_plugins')
-rw-r--r--yt_dlp_plugins/extractor/radiko.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py
index f9d9dd4..caaa020 100644
--- a/yt_dlp_plugins/extractor/radiko.py
+++ b/yt_dlp_plugins/extractor/radiko.py
@@ -709,7 +709,7 @@ class RadikoPersonIE(InfoExtractor):
person_api_url = update_url_query("https://api.radiko.jp/program/api/v1/programs", {
"person_id": person_id,
"start_at_gte": min_start.isoformat(),
- "end_at_lt": now.isoformat(),
+ "start_at_lt": now.isoformat(),
})
person_api = self._download_json(person_api_url, person_id)