on en est a deux dois la. par contre tu immagine a quoi va ressembler la 1.33 sur minecraft ? je suis hype de fou
This commit is contained in:
parent
1e576edc51
commit
56234f2420
68
V6.py
68
V6.py
@ -831,34 +831,52 @@ def very_custom_start(json):
|
||||
g._mail = cred[0]
|
||||
g._password = cred[1]
|
||||
for j in ["unban", "tout", "pc", "mobile", "log_points"]:
|
||||
if str(i) in json[j]:
|
||||
start = True
|
||||
|
||||
try :
|
||||
if str(i) in json[j]:
|
||||
start = True
|
||||
except KeyError :
|
||||
pass
|
||||
if start:
|
||||
driver = firefox_driver()
|
||||
if str(i) in json["unban"]:
|
||||
pwd_login(driver) # TODO : define only the first part of login
|
||||
try :
|
||||
if str(i) in json["unban"]:
|
||||
pwd_login(driver) # TODO : define only the first part of login
|
||||
print("waiting 1000 secs")
|
||||
sleep(1000)
|
||||
else :
|
||||
login(driver)
|
||||
except KeyError :
|
||||
pass
|
||||
try :
|
||||
if str(i) in json["tout"]:
|
||||
daily_routine(True)
|
||||
except KeyError :
|
||||
print("none is set to \"tout\"")
|
||||
else :
|
||||
login(driver)
|
||||
|
||||
if str(i) in json["tout"]:
|
||||
daily_routine(True)
|
||||
else :
|
||||
if str(i) in json["daily"]:
|
||||
try:
|
||||
bing_pc_search()
|
||||
except Exception as e:
|
||||
log_error(e)
|
||||
if str(i) in json["pc"]:
|
||||
try:
|
||||
bing_pc_search()
|
||||
except Exception as e:
|
||||
log_error(e)
|
||||
if str(i) in json["mobile"]:
|
||||
try:
|
||||
bing_mobile_search()
|
||||
except Exception as e:
|
||||
log_error(e)
|
||||
try :
|
||||
if str(i) in json["daily"]:
|
||||
try:
|
||||
bing_pc_search()
|
||||
except Exception as e:
|
||||
log_error(e)
|
||||
except KeyError :
|
||||
print("none is set to \"daily\"")
|
||||
try :
|
||||
if str(i) in json["pc"]:
|
||||
try:
|
||||
bing_pc_search()
|
||||
except Exception as e:
|
||||
log_error(e)
|
||||
except KeyError :
|
||||
print("none is set to \"pc\"")
|
||||
try :
|
||||
if str(i) in json["mobile"]:
|
||||
try:
|
||||
bing_mobile_search()
|
||||
except Exception as e:
|
||||
log_error(e)
|
||||
except KeyError :
|
||||
print("none is set to \"mobile\"")
|
||||
try:
|
||||
log_points(g._mail)
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user