Jared 3 年之前
父节点
当前提交
3157d7248b
共有 1 个文件被更改,包括 2 次插入0 次删除
  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")