From 1be75f19871683cdb86d55581bc05d11ac5a9d1c Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 14 Nov 2022 22:21:35 +0100 Subject: [PATCH] easier to copy on discord --- V4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/V4.py b/V4.py index 2307b5e..1512d09 100755 --- a/V4.py +++ b/V4.py @@ -71,7 +71,8 @@ def claim_amazon(): #amazon = search("> ([^ ]+) <", fcode)[1] fcode = driver.find_element(By.XPATH, "/html/body/div[1]/div[1]/main/div/div/div/div/div[1]/div/div[1]/div[2]/div[2]/div/div/div/div/div/div[2]/span").get_attribute("innerHTML") if fcode : - webhookFailure.send(_mail +" - "+ fcode) + webhookFailure.send(_mail) + webhookFailure.send(fcode) return(1) else : LogError("impossible de localiser le code ", driver, _mail)