aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-08-11 11:29:02 +0100
committergarret <garret@airmail.cc>2024-08-11 11:29:02 +0100
commit032c7951143e6452aeda34863bb38fed7ad26d3e (patch)
treef1fb590b1120eea7f34d5e36e70c83cd4e802352 /yt_dlp_plugins/extractor
parentbe540fe77d00f22cf6a4f0f6865a109cf8011bdc (diff)
downloadyt-dlp-rajiko-032c7951143e6452aeda34863bb38fed7ad26d3e.tar.gz
yt-dlp-rajiko-032c7951143e6452aeda34863bb38fed7ad26d3e.tar.bz2
yt-dlp-rajiko-032c7951143e6452aeda34863bb38fed7ad26d3e.zip
fix RadikoSiteTime test (forgot)
changed func in eb94441420845970d48fe7b4e30cc5eed78ac95a , forgot to change the test also
Diffstat (limited to 'yt_dlp_plugins/extractor')
-rwxr-xr-xyt_dlp_plugins/extractor/radiko_time.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp_plugins/extractor/radiko_time.py b/yt_dlp_plugins/extractor/radiko_time.py
index 9e77008..4d51ce5 100755
--- a/yt_dlp_plugins/extractor/radiko_time.py
+++ b/yt_dlp_plugins/extractor/radiko_time.py
@@ -79,7 +79,7 @@ if __name__ == "__main__":
# cursed (no seconds) - seems to do -1s
assert RadikoSiteTime('202308240100').timestring() == "20230824005959"
# broadcast day starts at 05:00, ends at 04:59 (29:59)
- assert RadikoSiteTime('20230824030000').broadcast_day() == '20230823'
+ assert RadikoSiteTime('20230824030000').broadcast_day_string() == '20230823'
assert RadikoSiteTime('20230824130000').broadcast_day_end() == datetime.datetime(2023, 8, 25, 5, 0, 0, tzinfo=JST)
assert RadikoSiteTime('20230824030000').broadcast_day_end() == datetime.datetime(2023, 8, 24, 5, 0, 0, tzinfo=JST)
# checking timezone