Skip to content

Commit

Permalink
Update hi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stucka authored Jan 17, 2024
1 parent e529756 commit 38f7a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions warn/scrapers/hi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def scrape(
cache_dir -- the Path where results can be cached (default WARN_CACHE_DIR)
Returns: the Path where the file is written
"""
cacheprefix = "https://webcache.googleusercontent.com/search?q=cache%3A"
cacheprefix = "https://webcache.googleusercontent.com/search?q=cache%3A" # Use Google Cache, per #600

firstpage = utils.get_url(cacheprefix + quote("https://labor.hawaii.gov/wdc/real-time-warn-updates/"))
soup = BeautifulSoup(firstpage.text, features="html5lib")
pagesection = soup.select("div.primary-content")[0]
Expand Down

0 comments on commit 38f7a1c

Please sign in to comment.