Skip to content

Commit

Permalink
Patch WI to be compliant with newer URL schema
Browse files Browse the repository at this point in the history
  • Loading branch information
stucka authored Jan 2, 2024
1 parent 68b682b commit 6c0a392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warn/scrapers/wi.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def scrape(
if cache.exists(cache_key) and year < current_year - 1:
html = cache.read(cache_key)
else:
url = f"https://dwd.wisconsin.gov/dislocatedworker/warn/{year}/default.htm"
url = f"https://dwd.wisconsin.gov/dislocatedworker/warn/default.htm?year={year}"
r = utils.get_url(url)
html = r.text
cache.write(cache_key, html)
Expand Down

0 comments on commit 6c0a392

Please sign in to comment.