oui
This commit is contained in:
parent
ae2c897d5b
commit
276470075c
6
V4.py
6
V4.py
|
@ -131,9 +131,9 @@ def LogError(message,log = Log, Mobdriver = None):
|
||||||
else :
|
else :
|
||||||
gdriver = driver
|
gdriver = driver
|
||||||
|
|
||||||
if not IsLinux :
|
|
||||||
print(f'\033[93m Erreur : {str(message)} \033[0m')
|
print(f'\033[93m Erreur : {str(message)} \033[0m')
|
||||||
else :
|
if IsLinux :
|
||||||
with open('page.html', 'w') as f:
|
with open('page.html', 'w') as f:
|
||||||
f.write(gdriver.page_source)
|
f.write(gdriver.page_source)
|
||||||
|
|
||||||
|
@ -785,7 +785,7 @@ else :
|
||||||
CustomSleep(1)
|
CustomSleep(1)
|
||||||
|
|
||||||
driver = FirefoxPC()
|
driver = FirefoxPC()
|
||||||
driver.implicitly_wait(30)
|
driver.implicitly_wait(15)
|
||||||
|
|
||||||
try :
|
try :
|
||||||
DailyRoutine()
|
DailyRoutine()
|
||||||
|
|
Loading…
Reference in New Issue