|
@@ -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")
|
|
|
|