Jared %!s(int64=3) %!d(string=hai) anos
pai
achega
eefbe98a41
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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',