From dd13e2ed554a98322360110d5af5585a54e49429 Mon Sep 17 00:00:00 2001 From: mike <219478+ilude@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:25:05 -0400 Subject: [PATCH] lets see what this breaks --- app/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/app.py b/app/app.py index 29cdf15..585a1a1 100644 --- a/app/app.py +++ b/app/app.py @@ -8,7 +8,12 @@ # Create a headless browser instance options = webdriver.ChromeOptions() +options.add_argument('--no-sandbox') options.add_argument('--headless') +options.add_argument('--disable-gpu') +options.add_argument('--disable-dev-shm-usage') +options.add_argument('--profile-directory=Default') +options.add_argument('--user-data-dir=~/.config/google-chrome') driver = webdriver.Chrome(options=options) def expand_url(url):