diff --git a/README.md b/README.md index 155872f..5e3a6f1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -# The program is currently down (1/6/2021 5pm CST). A fix will be pushed out soon. # VALORANT ELO TRACKER Track and view your VALORANT elo with this web application. As of 12/26, the original site has been taken down. diff --git a/app/valApi.py b/app/valApi.py index 804deeb..94dc353 100644 --- a/app/valApi.py +++ b/app/valApi.py @@ -25,7 +25,7 @@ def get_cookies(self): data = { 'client_id': 'play-valorant-web-prod', 'nonce': '1', - 'redirect_uri': 'https://beta.playvalorant.com/opt_in', + 'redirect_uri': 'https://playvalorant.com/', 'response_type': 'token id_token', 'scope': 'account openid', } @@ -51,7 +51,7 @@ def get_access_token(self): uri = r.json()['response']['parameters']['uri'] jsonUri = urllib.parse.parse_qs(uri) - access_token = jsonUri['https://beta.playvalorant.com/opt_in#access_token'][0] + access_token = jsonUri['https://playvalorant.com/#access_token'][0] return access_token @@ -91,4 +91,4 @@ def get_match_history(self): jsonData = r.json() - return jsonData \ No newline at end of file + return jsonData