1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-22 16:36:54 +00:00

add buffer argument to _jwt_is_expired

This commit is contained in:
Michaël De Boey
2025-03-16 23:26:14 +01:00
parent 5ffedda327
commit 98a68be9b8
6 changed files with 13 additions and 10 deletions

View File

@@ -114,7 +114,7 @@ class QDanceIE(InfoExtractor):
self.raise_login_required()
def _get_auth(self):
if self._jwt_is_expired(self._access_token):
if self._jwt_is_expired(self._access_token, 120):
if not self._refresh_token:
raise ExtractorError(
'Cannot refresh access token, login with yt-dlp or refresh cookies in browser')