From d3d59a7c0030629f6784fb1ed685ec9eaf276fb4 Mon Sep 17 00:00:00 2001 From: garret Date: Wed, 5 Jul 2023 22:06:09 +0100 Subject: fix wrong comparison in ShareIE --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index a99df94..780d30c 100755 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -918,7 +918,7 @@ class RadikoShareIE(_RadikoBaseIE): time = traverse_obj(queries, ("t", 0)) hour = int(time[8:10]) - if hour <= 24: # 29-hour time is valid here, see _unfuck_day in RadikoTimeFreeIE + if hour >= 24: # 29-hour time is valid here, see _unfuck_day in RadikoTimeFreeIE hour = hour - 24 # move back by a day date = datetime.datetime(int(time[:4]), int(time[4:6]), int(time[6:8]), -- cgit v1.2.3-70-g09d2