Commit 922a57b6 by haojie

1

parent 42af34dc
......@@ -125,11 +125,11 @@ class Dune:
# 页面
options = webdriver.ChromeOptions()
options.add_argument('headless')
# options.add_argument('headless')
#
# options.add_argument('--no-sandbox')
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
# options.add_argument('--headless')
options.add_argument('--headless')
options.add_argument(
"user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment