zooeytsai 2 éve
szülő
commit
cdd1c7bdf3
1 módosított fájl, 1 hozzáadás és 1 törlés
  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")