zooeytsai 2 年之前
父节点
当前提交
cdd1c7bdf3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      monitor/general_clickbot_hhh.py

+ 1 - 1
monitor/general_clickbot_hhh.py

@@ -96,7 +96,7 @@ def run_once(q):
     options = webdriver.ChromeOptions()
     options.add_argument('--headless')
     options.add_argument('--remote-debugging-port=9222')
-    options.add_experimental_option("debuggerAddress", "127.0.0.1:{q[2]}")
+    options.add_experimental_option("debuggerAddress", f"127.0.0.1:{q[2]}")
     options.add_argument("--user-agent=" +user_agent)
     options.add_argument("--incognito")