mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-08-09 15:06:36 +02:00
maybe the last update
This commit is contained in:
6
V6.py
6
V6.py
@ -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:
|
||||
|
Reference in New Issue
Block a user