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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user