Jared 2 anni fa
parent
commit
3157d7248b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      INNNews/general_clickbot.py

+ 2 - 0
INNNews/general_clickbot.py

@@ -83,6 +83,8 @@ def run_once(q):
     options.add_argument('--headless')
     options.add_argument('--headless')
 
 
     options.add_argument('--disable-dev-shm-usage')
     options.add_argument('--disable-dev-shm-usage')
+    options.add_argument('--no-sandbox')
+    options.add_argument('--remote-debugging-port=9222')
 
 
 #    options.add_argument("--user-agent=" +user_agent)
 #    options.add_argument("--user-agent=" +user_agent)
     options.add_argument("--incognito")
     options.add_argument("--incognito")