Jared 2 éve
szülő
commit
da277bf492
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      monitor/general_clickbot_hhh.py

+ 2 - 2
monitor/general_clickbot_hhh.py

@@ -95,8 +95,8 @@ def run_once(q):
     user_agent = rua()
     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_argument('--remote-debugging-port='+str(q[2]))
+#    options.add_experimental_option("debuggerAddress", "127.0.0.1:{q[2]}")
     options.add_argument("--user-agent=" +user_agent)
     options.add_argument("--incognito")