From b562930583d709c72fdf0120ada0df25a127e682 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 22 Jun 2022 12:26:50 +0200 Subject: [PATCH] =?UTF-8?q?comming=20soon=20=C2=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- V4.py | 4 ++-- config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/V4.py b/V4.py index 0ab697b..ff08997 100755 --- a/V4.py +++ b/V4.py @@ -573,7 +573,7 @@ def login(): driver.find_element(By.CSS_SELECTOR, f'[title="Rejoindre"]').click() # depend of the language of the page except: driver.find_element(By.CSS_SELECTOR, f'[title="Join now"]').click() # depend of the language of the page - + CustomSleep(10) mail = driver.find_element(By.ID, "i0116") @@ -619,7 +619,7 @@ def login(): for i in range(3) : try : sub_login() - return driver.current_window_handle + return (driver.current_window_handle) except Exception as e: LogError("login - 3 - " + str(e)) driver.close() diff --git a/config b/config index 7435a96..f7bcd91 100644 --- a/config +++ b/config @@ -11,9 +11,9 @@ Headless = True [DISCORD] +enabled = True successlink = https://discord.com/api/webhooks/[put your webhook here] errorlink =https://discord.com/api/webhooks/[put your webhook here] -enabled = True [PROXY]