Skip to content

Commit

Permalink
Update archiver
Browse files Browse the repository at this point in the history
  • Loading branch information
milesmcc committed Aug 31, 2024
1 parent ee6a63b commit 146220f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/utils/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def archive_page_using_selenium(url: str) -> dict:
# to remove sensitive variables), but this is — to an extent — an acceptable risk
# (given the complexity tradeoff).
options.add_argument("--no-sandbox")
options.add_argument("--disable-dev-shm-usage")
options.add_argument("--headless=new")
options.add_argument("--disable-gpu")
options.add_argument("--headless")
options.binary_location = '/usr/bin/chromium'

# Set up the Service object with the path to chromedriver
Expand Down

0 comments on commit 146220f

Please sign in to comment.