1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-19 22:48:53 +00:00

rename _is_jwt_token_expired to _jwt_is_expired

This commit is contained in:
Michaël De Boey
2025-03-16 23:15:55 +01:00
parent 0242090a86
commit 5ffedda327
11 changed files with 20 additions and 20 deletions

View File

@@ -43,7 +43,7 @@ class WrestleUniverseBaseIE(InfoExtractor):
self.raise_login_required()
self._TOKEN = token
if not self._REAL_TOKEN or self._is_jwt_token_expired(self._REAL_TOKEN):
if not self._REAL_TOKEN or self._jwt_is_expired(self._REAL_TOKEN):
if not self._REFRESH_TOKEN:
raise ExtractorError(
'Expired token. Refresh your cookies in browser and try again', expected=True)