Update V4.py
This commit is contained in:
parent
be5e543308
commit
42c327b468
4
V4.py
4
V4.py
@ -79,7 +79,7 @@ embeds = config["SETTINGS"]["embeds"] == "True" #print new point value in an emb
|
||||
Headless = config["SETTINGS"]["headless"] == "True"
|
||||
#proxy settings
|
||||
proxy_enabled = config["PROXY"]["enabled"] == "True"
|
||||
proxy_adress = config["PROXY"]["url"]
|
||||
proxy_address = config["PROXY"]["url"]
|
||||
proxy_port = config["PROXY"]["port"]
|
||||
#MySQL settings
|
||||
sql_enabled = config["SQL"]["enabled"] == "True"
|
||||
@ -150,7 +150,7 @@ def add_to_database(compte, points):
|
||||
|
||||
def FirefoxDriver(mobile=False, Headless=Headless):
|
||||
if proxy_enabled :
|
||||
setup_proxy(proxy_adress,proxy_port)
|
||||
setup_proxy(proxy_address,proxy_port)
|
||||
|
||||
PC_USER_AGENT = (
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
|
||||
|
Loading…
Reference in New Issue
Block a user