reenable binmobilesearch for every computer

This commit is contained in:
piair 2022-06-10 07:07:46 +02:00
parent 491891f4de
commit 4fa9339632
1 changed files with 10 additions and 21 deletions

19
V4.py
View File

@ -952,9 +952,7 @@ def DailyRoutine():
try: try:
AllCard() AllCard()
except Exception as e: except Exception as e:
LogError( LogError(f"DalyRoutine - AllCard - \n{e}")
f"DalyRoutine - AllCard - \n {e}"
)
try: try:
BingPcSearch() BingPcSearch()
@ -962,17 +960,15 @@ def DailyRoutine():
LogError(f"DalyRoutine - BingPcSearch - \n{e}") LogError(f"DalyRoutine - BingPcSearch - \n{e}")
CustomSleep(uniform(3, 20)) CustomSleep(uniform(3, 20))
try: try:
Fidelite() Fidelite()
except Exception as e: except Exception as e:
LogError(f"DailyRoutine - Fidelité - \n{e}") LogError(f"DailyRoutine - Fidelité - \n{e}")
if proxy_enabled :
try: try:
BingMobileSearch() BingMobileSearch()
except Exception as e: except Exception as e:
LogError(f"DalyRoutine - BingMobileSearch - {e}") LogError(f"DalyRoutine - BingMobileSearch - \n{e}")
CustomSleep(uniform(3, 20)) CustomSleep(uniform(3, 20))
try: try:
@ -980,21 +976,14 @@ def DailyRoutine():
except Exception as e: except Exception as e:
LogError(f"DalyRoutine - LogPoint - \n{e}") LogError(f"DalyRoutine - LogPoint - \n{e}")
else : else :
LogError(f"probleme de login sur e comte {_mail}") LogError(f"probleme de login sur le comte {_mail}")
def close(): def close():
driver.quit() driver.quit()
quit() quit()
def check_proxy():
driver.get('http://p.p')
LogError("test pour voir si le proxy marche")
driver.get('https://api.ipify.org')
CustomSleep(5)
LogError("test pour voir si le proxy marche")
def dev(): def dev():
printf("rien en cours de dev") printf("rien en cours de dev")