aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-08-05 08:10:43 +0100
committergarret <garret@airmail.cc>2024-08-05 08:12:23 +0100
commiteb94441420845970d48fe7b4e30cc5eed78ac95a (patch)
treefe1629d5de312da1f1172c33e4f2a0fc769edf98 /yt_dlp_plugins/extractor/radiko.py
parent76c3e466299b75fcb8e441654ac2fa1fcfcaced6 (diff)
downloadyt-dlp-rajiko-eb94441420845970d48fe7b4e30cc5eed78ac95a.tar.gz
yt-dlp-rajiko-eb94441420845970d48fe7b4e30cc5eed78ac95a.tar.bz2
yt-dlp-rajiko-eb94441420845970d48fe7b4e30cc5eed78ac95a.zip
change names of RadikoTime functions so that datetime is the "default"
generally we should work in datetimes, the strings should be the "special" ones
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-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 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,