maybe the last update

This commit is contained in:
piair
2023-06-18 19:21:02 +02:00
parent 4e939bec2f
commit 9b237c7ebf
4 changed files with 17 additions and 11 deletions

6
V6.py
View File

@ -26,9 +26,9 @@ def firefox_driver(mobile=False, headless=False):
)
chrome_options = webdriver.ChromeOptions()
if mobile:
chrome_option.add_argument(f"--user-agent={PC_USER_AGENT}")
chrome_options.add_argument(f"--user-agent={PC_USER_AGENT}")
else :
chrome_option.add_argument(f"--user-agent={MOBILE_USER_AGENT}")
chrome_options.add_argument(f"--user-agent={MOBILE_USER_AGENT}")
if g.proxy_enabled:
PROXY = f"{g.proxy_address}:{g.proxy_port}" # IP:PORT or HOST:PORT
chrome_options.add_argument(f'--proxy-server={PROXY}')
@ -829,8 +829,6 @@ elif g.unban:
except Banned:
unban()
driver.quit()
elif g.points_file != "":
save_points_from_file(g.points_file)
else:
if g.update_version != "None":
if g.discord_enabled_error: