]> jfr.im git - yt-dlp.git/commitdiff
[extractor/wrestleuniverse] Fix cookies support
authorbashonly <redacted>
Tue, 13 Jun 2023 20:49:18 +0000 (15:49 -0500)
committerbashonly <redacted>
Tue, 13 Jun 2023 20:49:18 +0000 (15:49 -0500)
Closes #7298
Authored by: bashonly

yt_dlp/extractor/wrestleuniverse.py

index 946edf20a41f9ecbbacfbc3e366f63e8aa35063e..b12b0f0a9e22f4527bcc338e1509390d5ef004dd 100644 (file)
@@ -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: