Skip to content

Commit

Permalink
IL: Events: Emptyscrape wording update
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst committed Jan 9, 2025
1 parent 0a5c6ba commit 911d324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/il/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def scrape(self):
doc = lxml.html.fromstring(html)
doc.make_links_absolute(url)

if doc.xpath('//div[contains(text(), "No hearings currently scheduled")]'):
if doc.xpath('//p[contains(text(), "No scheduled hearings for Month")]'):
self.info(f"No hearings in {chamber}")
no_scheduled_ct += 1
continue
Expand Down

0 comments on commit 911d324

Please sign in to comment.