Skip to content

Commit

Permalink
Merge pull request #687 from biglocalnews/va-679v3
Browse files Browse the repository at this point in the history
Service args go on the service
  • Loading branch information
stucka authored Dec 24, 2024
2 parents 73d2820 + 715b128 commit de9d7ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions warn/scrapers/va.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,8 @@ def scrape(
"THIRD_PARTY_NOTICES.chromedriver", "chromedriver.exe"
)
logger.debug(f"Chrome install variable is {chrome_install}")
service = ChromeService(chrome_install)
driver = webdriver.Chrome(
options=chromeoptionsholder, service=service, service_args=["--verbose"]
)
service = ChromeService(chrome_install, service_args=["--verbose"])
driver = webdriver.Chrome(options=chromeoptionsholder, service=service)
logger.debug(f"Attempting to fetch {csv_url}")
driver.get(csv_url)

Expand Down

0 comments on commit de9d7ee

Please sign in to comment.