Your Name 3 rokov pred
rodič
commit
49b6b22ff9
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      hhh/SEO/hhh_phantom.py

+ 2 - 0
hhh/SEO/hhh_phantom.py

@@ -8,6 +8,8 @@ for i in range(9999):
     options.add_argument('--headless')
     options.add_argument('--disable-gpu')  # Last I checked this was necessary.
 
+    options.add_argument('--no-sandbox')
+    options.add_argument('--disable-dev-shm-usage')
     driver = webdriver.Chrome(
     desired_capabilities=options.to_capabilities())
     driver.set_window_size(1400,1000)