Jared il y a 2 ans
Parent
commit
3157d7248b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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")