FAST DUDE

This commit is contained in:
piair 2022-11-09 19:36:22 +01:00
parent 35db54edfc
commit c3fc698e55
1 changed files with 7 additions and 7 deletions

12
V4.py
View File

@ -178,8 +178,8 @@ def PlayQuiz8():
printf(f"PlayQuiz8 : start, override : {override}")
try:
c = 0
RGPD()
for i in range(override):
RGPD()
CustomSleep(uniform(3, 5))
AnswerOptions = [ (driver.find_element(By.ID, f"rqAnswerOption{i-1}"),f'rqAnswerOption{i-1}') for i in range(1,9)]
isCorrect = [x[1] for x in AnswerOptions if 'iscorrectoption="True" ' in x[0].get_attribute("outerHTML") ]
@ -778,16 +778,16 @@ def DailyRoutine(custom = False):
except Exception as e:
LogError(f"DailyRoutine - BingPcSearch - \n{e}", driver, _mail)
try:
Fidelite()
except Exception as e:
LogError(f"DailyRoutine - Fidelité - \n{e}", driver, _mail)
try:
BingMobileSearch()
except Exception as e:
LogError(f"DailyRoutine - BingMobileSearch - \n{e}", driver, _mail)
try:
Fidelite()
except Exception as e:
LogError(f"DailyRoutine - Fidelité - \n{e}", driver, _mail)
try:
LogPoint(_mail)
except Exception as e: