From eb94441420845970d48fe7b4e30cc5eed78ac95a Mon Sep 17 00:00:00 2001 From: garret Date: Mon, 5 Aug 2024 08:10:43 +0100 Subject: change names of RadikoTime functions so that datetime is the "default" generally we should work in datetimes, the strings should be the "special" ones --- 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 b76387d..2ec36d9 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -436,7 +436,7 @@ class RadikoTimeFreeIE(_RadikoBaseIE): }] def _get_programme_meta(self, station_id, url_time): - day = url_time.broadcast_day() + day = url_time.broadcast_day_string() meta = self._download_json(f"https://radiko.jp/v4/program/station/date/{day}/{station_id}.json", station_id, note="Downloading programme data") programmes = traverse_obj(meta, ("stations", lambda _, v: v["station_id"] == station_id, -- cgit v1.2.3-70-g09d2