From e1e94104a112e1bb14273b59a1469e31298444e5 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sun, 10 Nov 2024 08:36:33 +1300 Subject: [PATCH] fix timeout --- yt_dlp_plugins/extractor/_ytse/downloader/sabr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp_plugins/extractor/_ytse/downloader/sabr.py b/yt_dlp_plugins/extractor/_ytse/downloader/sabr.py index fe6a95c..e89540e 100644 --- a/yt_dlp_plugins/extractor/_ytse/downloader/sabr.py +++ b/yt_dlp_plugins/extractor/_ytse/downloader/sabr.py @@ -447,7 +447,7 @@ def _check_expiry(self): if not expires_at: self.fd.report_warning('No expiry found in server ABR streaming URL') - if expires_at + 300 >= time.time(): + if expires_at - 300 >= time.time(): self.fd.write_debug(f'videoplayback url expires in {int(expires_at - time.time())} seconds') return True