well, SadPanda is still here ;(
This commit is contained in:
parent
8726785dc8
commit
12a6968ee0
8
V5.py
8
V5.py
|
@ -474,10 +474,10 @@ def login(ldriver):
|
|||
ldriver.refresh()
|
||||
rgpd_popup(ldriver) # Ultra important
|
||||
ldriver.get("https://www.bing.com/rewardsapp/flyout")
|
||||
if "SadPanda.svg" in ldriver.page_source :
|
||||
log_error('test SadPanda before', ldriver)
|
||||
driver.execute_script("location.reload(true);")
|
||||
log_error('test SadPanda after', ldriver)
|
||||
#if "SadPanda.svg" in ldriver.page_source :
|
||||
# log_error('test SadPanda before', ldriver)
|
||||
# driver.execute_script("location.reload(true);")
|
||||
# log_error('test SadPanda after', ldriver)
|
||||
if not('>Tableau de bord' in ldriver.page_source):
|
||||
try :
|
||||
ldriver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click()
|
||||
|
|
|
@ -82,7 +82,7 @@ parser.add_argument(
|
|||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--updated",
|
||||
"--version",
|
||||
help="display a message on discord to tell that the bot have been updated",
|
||||
dest="update_version",
|
||||
default="None"
|
||||
|
|
Loading…
Reference in New Issue