Skip to content

Commit

Permalink
lets see what this breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed Mar 25, 2024
1 parent 5e5f81d commit dd13e2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit dd13e2e

Please sign in to comment.