From 393bcf381b676f83e7b6b131e6dce3a7561073cd Mon Sep 17 00:00:00 2001 From: SudoLite Date: Fri, 19 Jul 2024 16:28:26 +0330 Subject: [PATCH] =?UTF-8?q?Fixed=20Auth=20(new=20update)=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/utils/scripts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/utils/scripts.py b/bot/utils/scripts.py index 4037771..4e8d27b 100644 --- a/bot/utils/scripts.py +++ b/bot/utils/scripts.py @@ -238,12 +238,12 @@ def login_in_browser(auth_url: str, proxy: str) -> tuple[str, str, str]: time.sleep(5) response_text = '{}' - x_cv = '631' + x_cv = '651' x_touch = '1' for request in driver.requests: request_body = request.body.decode('utf-8') - if request.url == "https://api.tapswap.club/api/account/login": + if request.url == "https://api.tapswap.club/api/account/challenge" and 'chr' in request_body: response_text = request.response.body.decode('utf-8') if request.url == "https://api.tapswap.club/api/player/submit_taps":