didn't I already changed that ?

This commit is contained in:
piair 2022-10-11 21:14:53 +02:00
parent 3d90fa64bb
commit 6290fde32e
1 changed files with 2 additions and 2 deletions

4
V4.py
View File

@ -138,7 +138,7 @@ def check_ipv4():
return False return False
def claim_amazon(): #only work in french for now def claim_amazon():
try : try :
driver.get("https://rewards.microsoft.com/redeem/000803000031") driver.get("https://rewards.microsoft.com/redeem/000803000031")
try : try :
@ -149,7 +149,7 @@ def claim_amazon(): #only work in french for now
try : try :
driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click() driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click()
except : except :
driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click() driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRM REWARD')]").click()
sleep(5) sleep(5)