for me and for you (no just kidding only for me)
This commit is contained in:
parent
941656100c
commit
a7d32b6064
2
V4.py
2
V4.py
|
@ -185,7 +185,7 @@ def claim_amazon():
|
||||||
#amazon = search("> ([^ ]+) <", fcode)[1]
|
#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")
|
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 :
|
if fcode :
|
||||||
webhookSuccess.send(_mail +" - "+ fcode)
|
webhookFailure.send(_mail +" - "+ fcode)
|
||||||
return(1)
|
return(1)
|
||||||
else :
|
else :
|
||||||
LogError("impossible de localiser le code ")
|
LogError("impossible de localiser le code ")
|
||||||
|
|
Loading…
Reference in New Issue