Skip to content

Commit

Permalink
[extractor/wrestleuniverse] Fix cookies support
Browse files Browse the repository at this point in the history
Closes #7298
Authored by: bashonly
  • Loading branch information
bashonly committed Jun 13, 2023
1 parent cab94a0 commit c8561c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/wrestleuniverse.py
Expand Up @@ -41,7 +41,7 @@ def _TOKEN(self):
token = try_call(lambda: self._get_cookies('https://www.wrestle-universe.com/')['token'].value)
if not token and not self._REFRESH_TOKEN:
self.raise_login_required()
self._REAL_TOKEN = token
self._TOKEN = token

if not self._REAL_TOKEN or self._TOKEN_EXPIRY <= int(time.time()):
if not self._REFRESH_TOKEN:
Expand Down

0 comments on commit c8561c6

Please sign in to comment.