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

@@ -996,7 +996,7 @@ class InfoExtractor:
return encoding
@staticmethod
def _is_jwt_token_expired(token):
def _jwt_is_expired(token):
return jwt_decode_hs256(token)['exp'] - time.time() < 300
def __check_blocked(self, content):