Jared 2 gadi atpakaļ
vecāks
revīzija
da277bf492
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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")