re disabled mobile search for proxy

This commit is contained in:
piair 2022-06-02 12:29:17 +02:00
parent b459129d66
commit d4fcc7f769
1 changed files with 8 additions and 10 deletions

10
V4.py
View File

@ -232,7 +232,7 @@ def ListTabs(Mdriver=None):
tabs.append(ldriver.current_url) tabs.append(ldriver.current_url)
return tabs return tabs
#il faut fix le fait qu'il essaye d'envoyer un truc sans url, listtab[0] = about:blank
def LogError(message, log=FullLog, Mobdriver=None): def LogError(message, log=FullLog, Mobdriver=None):
if Mobdriver: if Mobdriver:
gdriver = Mobdriver gdriver = Mobdriver
@ -294,7 +294,6 @@ def RGPD():
pass pass
""" """
PlayQuiz2([int : override]) make the quizz with 2 choice each time. They usually have 10 questions. PlayQuiz2([int : override]) make the quizz with 2 choice each time. They usually have 10 questions.
override is the number of question, by default, it's 10. Can be usefull in some case, where the programm crashes before finishing the quizz override is the number of question, by default, it's 10. Can be usefull in some case, where the programm crashes before finishing the quizz
@ -916,7 +915,6 @@ def Fidelite():
def DailyRoutine(): def DailyRoutine():
MainWindows = login() MainWindows = login()
try: try:
AllCard() AllCard()
@ -934,10 +932,10 @@ def DailyRoutine():
try: try:
Fidelite() Fidelite()
except: except Exception as e:
pass LogError(f"DailyRoutine - Fidelité - \n {e}")
if proxy_enabled :
try: try:
BingMobileSearch() BingMobileSearch()
except Exception as e: except Exception as e: