mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	easier to copy on discord
This commit is contained in:
		
							
								
								
									
										3
									
								
								V4.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								V4.py
									
									
									
									
									
								
							@@ -71,7 +71,8 @@ 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 :
 | 
				
			||||||
                webhookFailure.send(_mail +" - "+ fcode)
 | 
					                webhookFailure.send(_mail)
 | 
				
			||||||
 | 
					                webhookFailure.send(fcode)
 | 
				
			||||||
                return(1)
 | 
					                return(1)
 | 
				
			||||||
            else :
 | 
					            else :
 | 
				
			||||||
                LogError("impossible de localiser le code ", driver, _mail)
 | 
					                LogError("impossible de localiser le code ", driver, _mail)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user