Skip to content

Commit

Permalink
fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Nov 9, 2024
1 parent ab37e2d commit e1e9410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp_plugins/extractor/_ytse/downloader/sabr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e1e9410

Please sign in to comment.