Jared 2 سال پیش
والد
کامیت
5d5ad7b405
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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