FAST DUDE
This commit is contained in:
parent
35db54edfc
commit
c3fc698e55
14
V4.py
14
V4.py
|
@ -178,8 +178,8 @@ def PlayQuiz8():
|
||||||
printf(f"PlayQuiz8 : start, override : {override}")
|
printf(f"PlayQuiz8 : start, override : {override}")
|
||||||
try:
|
try:
|
||||||
c = 0
|
c = 0
|
||||||
for i in range(override):
|
RGPD()
|
||||||
RGPD()
|
for i in range(override):
|
||||||
CustomSleep(uniform(3, 5))
|
CustomSleep(uniform(3, 5))
|
||||||
AnswerOptions = [ (driver.find_element(By.ID, f"rqAnswerOption{i-1}"),f'rqAnswerOption{i-1}') for i in range(1,9)]
|
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") ]
|
isCorrect = [x[1] for x in AnswerOptions if 'iscorrectoption="True" ' in x[0].get_attribute("outerHTML") ]
|
||||||
|
@ -777,17 +777,17 @@ def DailyRoutine(custom = False):
|
||||||
BingPcSearch()
|
BingPcSearch()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LogError(f"DailyRoutine - BingPcSearch - \n{e}", driver, _mail)
|
LogError(f"DailyRoutine - BingPcSearch - \n{e}", driver, _mail)
|
||||||
|
|
||||||
try:
|
|
||||||
Fidelite()
|
|
||||||
except Exception as e:
|
|
||||||
LogError(f"DailyRoutine - Fidelité - \n{e}", driver, _mail)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
BingMobileSearch()
|
BingMobileSearch()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LogError(f"DailyRoutine - BingMobileSearch - \n{e}", driver, _mail)
|
LogError(f"DailyRoutine - BingMobileSearch - \n{e}", driver, _mail)
|
||||||
|
|
||||||
|
try:
|
||||||
|
Fidelite()
|
||||||
|
except Exception as e:
|
||||||
|
LogError(f"DailyRoutine - Fidelité - \n{e}", driver, _mail)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
LogPoint(_mail)
|
LogPoint(_mail)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Reference in New Issue