From 51891af9f146489860a7352c50156b5a16cea6e5 Mon Sep 17 00:00:00 2001 From: palewire Date: Tue, 25 Jan 2022 17:04:09 -0800 Subject: [PATCH] Fix NJ --- warn/scrapers/nj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warn/scrapers/nj.py b/warn/scrapers/nj.py index c8a13b55..014d8d30 100644 --- a/warn/scrapers/nj.py +++ b/warn/scrapers/nj.py @@ -77,7 +77,7 @@ def scrape( url = f"https://www.nj.gov/labor/lwdhome/warn/{year}/{html_page_name}" r = utils.get_url(url) r.encoding = "utf-8" - html.text + html = r.text cache.write(cache_key, html) # Parse out the tables