[extractor/wrestleuniverse] Fix cookies support

Closes #7298
Authored by: bashonly
pull/7311/head
bashonly 2023-06-13 15:49:18 -05:00
rodzic cab94a0cd8
commit c8561c6d03
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 783F096F253D15B0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -41,7 +41,7 @@ class WrestleUniverseBaseIE(InfoExtractor):
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: