This commit is contained in:
piair 2023-03-29 14:08:44 +02:00
parent 098b934e96
commit c5beafe036
1 changed files with 6 additions and 2 deletions

8
V5.py
View File

@ -468,8 +468,12 @@ def login(ldriver):
ldriver.refresh() ldriver.refresh()
rgpd_popup(ldriver) rgpd_popup(ldriver)
ldriver.get("https://www.bing.com/rewardsapp/flyout") ldriver.get("https://www.bing.com/rewardsapp/flyout")
return(True) if ("Rejoindre maintenant" in ldriver.page_source):
print("cookies plus valides") log_error("Not Connected 1", ldriver, True)
ldriver.refresh()
log_error("Not Connected 2", ldriver, True)
return(True)
print("cookies plus valides ?")
return(False) return(False)
try : try :