auto reload. added back mobile search.

This commit is contained in:
piair
2023-07-03 21:29:26 +02:00
parent 5c23097873
commit 659e7d3664
4 changed files with 13 additions and 13 deletions

10
V6.py
View File

@ -662,7 +662,7 @@ def fidelity():
pause = driver.find_element(By.CSS_SELECTOR, f'[class="c-action-toggle c-glyph f-toggle glyph-pause"]') # mettre le truc en pause
pause.click()
except Exception as e:
printf(f"erreur : probablement pas de cartes {e}")
printf(f"erreur lors du click de pause: probablement pas de cartes {e}")
return("no cards")
cartes = driver.find_elements(By.CSS_SELECTOR, f'[ng-repeat="item in $ctrl.transcludedItems"]')
nb_cartes = len(cartes)
@ -752,10 +752,10 @@ def daily_routine(custom = False):
except Exception as e:
log_error(e)
#try:
# bing_mobile_search()
#except Exception as e:
# log_error(e)
try:
bing_mobile_search()
except Exception as e:
log_error(e)
try:
log_points(g._mail)