Skip to content

Commit

Permalink
Merge pull request #681 from biglocalnews/va-679v3
Browse files Browse the repository at this point in the history
Force CFFI updates; try Github Actions workarounds
  • Loading branch information
stucka authored Dec 23, 2024
2 parents 4801baf + b85568f commit 489b524
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ urllib3 = "1.26.18" # pegged to avoid test issue
selenium = "*"
webdriver-manager = "*"
cryptography = "*"
cffi = "*"

[requires]
python_version = "3.9"
Expand Down
5 changes: 3 additions & 2 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions warn/scrapers/va.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ def scrape(
# driver = webdriver.Chrome(options=chromeoptionsholder, service=Service(ChromeDriverManager().install()))
logger.debug("Attempting to launch Chrome")
chromeoptionsholder = ChromeOptions()
chromeoptionsholder.add_argument("--no-sandbox")
chromeoptionsholder.add_argument("--remote-debugging-pipe")

chrome_install = ChromeDriverManager().install()

# Weird error with finding the driver name in Windows. Sometimes.
Expand Down

0 comments on commit 489b524

Please sign in to comment.