From b1d5e613cda58eb4503abda367c2770588ad7fe9 Mon Sep 17 00:00:00 2001 From: garret Date: Tue, 17 Sep 2024 01:12:59 +0100 Subject: 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 --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp_plugins/extractor/radiko.py') 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) -- cgit v1.2.3-70-g09d2