mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	still testing, but on a good way
This commit is contained in:
		
							
								
								
									
										3
									
								
								V5.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								V5.py
									
									
									
									
									
								
							@@ -481,6 +481,8 @@ def login(ldriver):
 | 
				
			|||||||
                        driver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click()
 | 
					                        driver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click()
 | 
				
			||||||
                        custom_sleep(5)
 | 
					                        custom_sleep(5)
 | 
				
			||||||
                        if "bing.com" in ldriver.current_url :
 | 
					                        if "bing.com" in ldriver.current_url :
 | 
				
			||||||
 | 
					                            log_error("connected 3.5", ldriver, True)
 | 
				
			||||||
 | 
					                            rgpd_popup(ldriver)
 | 
				
			||||||
                            driver.get("https://www.bing.com/rewardsapp/flyout")
 | 
					                            driver.get("https://www.bing.com/rewardsapp/flyout")
 | 
				
			||||||
                            log_error("connected 4", ldriver, True)
 | 
					                            log_error("connected 4", ldriver, True)
 | 
				
			||||||
                            #return(True)
 | 
					                            #return(True)
 | 
				
			||||||
@@ -493,7 +495,6 @@ def login(ldriver):
 | 
				
			|||||||
                        except Exception as e:
 | 
					                        except Exception as e:
 | 
				
			||||||
                            log_error(f"erreur not connected 6{e}", ldriver)
 | 
					                            log_error(f"erreur not connected 6{e}", ldriver)
 | 
				
			||||||
                        log_error("not connected 6", ldriver, True)
 | 
					                        log_error("not connected 6", ldriver, True)
 | 
				
			||||||
                        
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return(True)
 | 
					            return(True)
 | 
				
			||||||
        print("cookies plus valides ?")
 | 
					        print("cookies plus valides ?")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user