Jared 2 anos atrás
pai
commit
3157d7248b
1 arquivos alterados com 2 adições e 0 exclusões
  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('--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("--incognito")