Jared hace 3 años
padre
commit
f96ae37d56
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      hhh/SEO/fast_1999.py

+ 1 - 0
hhh/SEO/fast_1999.py

@@ -106,6 +106,7 @@ def re_get_webdriver():
         # options.add_argument("--headless") # 視窗背後執行
         print(user_agent)
         options.add_argument("--user-agent=" +user_agent)
+        options.add_argument("--incognito")
 
         driver = webdriver.Remote(
             command_executor='http://127.0.0.1:'+str(portnum)+'/wd/hub',