Skip to content

Commit 2977d56

Browse files
Merge pull request #5721 from openstates/il-bills-title-selector-fix
IL: bills: site changed bill title element HTML
2 parents 1d1f7f6 + 71e1df2 commit 2977d56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scrapers/il/bills.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def scrape_bill(self, chamber, session, doc_type, url, bill_type=None):
528528
bill_id = doc_type + bill_num
529529

530530
title = doc.xpath(
531-
'//div[contains(@class, "tab-content")]/div[contains(@class, "row")][1]//h5/text()'
531+
'//div[contains(@class, "tab-content")]/div[contains(@class, "row")][1]//h2/text()'
532532
)[0].strip()
533533

534534
bill = Bill(

0 commit comments

Comments
 (0)