diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index d57f848..5ca8d53 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -185,6 +185,10 @@ def get_config_dict(args): if not args.ibonqware is None: if len(args.ibonqware) > 0: config_dict["advanced"]["ibonqware"] = encryptMe(args.ibonqware) + if not args.proxy_server is None: + if len(args.proxy_server) > 2: + config_dict["advanced"]["proxy_server_port"] = args.proxy_server + # special case for headless to enable away from keyboard mode. @@ -11806,6 +11810,10 @@ def cli(): choices=['chrome','firefox','edge','safari','brave'], type=str) + parser.add_argument("--proxy_server", + help="overwrite proxy server, format: ip:port", + type=str) + args = parser.parse_args() main(args)