From 138755a9e45e01fcba12a4d672d1c32843c7e5d4 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Fri, 3 Jun 2022 23:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E6=BC=8F=E6=8E=89=E7=9A=84url?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=B8=A6=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 74db8d9..dff7865 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ if __name__ == '__main__': config()["mitm"]["bin"], "-s", "./scripts/mitmproxy.py", "-q", "--listen-host", config()["mitm"]["host"], "--listen-port", str(config()["mitm"]["port"]) ]) - t = threading.Thread(target=webdriver.go) + t = threading.Thread(target=webdriver.go, args=(sys.argv[1],)) t.start() queue_thread = threading.Thread(target=loop_queue) queue_thread.start()