Jared 3 年 前
コミット
eefbe98a41
1 ファイル変更1 行追加1 行削除
  1. 1 1
      hhh/SEO/fast_1999.py

+ 1 - 1
hhh/SEO/fast_1999.py

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