Jared 3 年之前
父節點
當前提交
f96ae37d56
共有 1 個文件被更改,包括 1 次插入0 次删除
  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',