Jared %!s(int64=2) %!d(string=hai) anos
pai
achega
5d5ad7b405
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      hhh/SEO/local_1777.py

+ 2 - 2
hhh/SEO/local_1777.py

@@ -47,7 +47,7 @@ def re_get_webdriver():
 
         options.add_argument("--no-sandbox")
         options.add_argument("--disable-dev-shm-usage")
-        options.add_argument("--headless")
+#        options.add_argument("--headless")
 
 #        print(user_agent)
 #        options.add_argument("--user-agent=" +user_agent)
@@ -61,7 +61,7 @@ def re_get_webdriver():
             os.system('kill %d' % os.getpid())
             sys.exit()
             return
-        driver.set_window_size(1400,1000)
+#        driver.set_window_size(1400,1000)
         return
     except:
         import traceback