Skip to content

Commit

Permalink
Merge pull request #690 from biglocalnews/va-679v3
Browse files Browse the repository at this point in the history
Move item inside block
  • Loading branch information
stucka authored Dec 26, 2024
2 parents 338f8a3 + 36b112d commit 0a9e318
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions warn/scrapers/va.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def scrape(
logger.debug(f"Attempting to fetch {csv_url}")
driver.get(csv_url)
sleep(30) # Give it plenty of time to evaluate Javascript
driver.quit()

download_dir = os.path.expanduser("~") + "/Downloads"

Expand All @@ -172,8 +173,6 @@ def scrape(

copyfile(latest_file, target_filename)

driver.quit()

# Download it to the cache
# cache.download("va/source.csv", csv_url, verify=True)

Expand Down

0 comments on commit 0a9e318

Please sign in to comment.