1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-23 00:18:55 +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

@@ -123,7 +123,7 @@ class Zee5IE(InfoExtractor):
else:
raise ExtractorError(self._LOGIN_HINT, expected=True)
if self._is_jwt_token_expired(self._USER_TOKEN):
if self._jwt_is_expired(self._USER_TOKEN):
raise ExtractorError('User token has expired', expected=True)
self._USER_COUNTRY = jwt_decode_hs256(self._USER_TOKEN).get('current_country')