mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
[extractor/wrestleuniverse] Fix cookies support
Closes #7298 Authored by: bashonly
This commit is contained in:
parent
cab94a0cd8
commit
c8561c6d03
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue