From 5368d60f5647af7c96c5b3190b66ca979991d199 Mon Sep 17 00:00:00 2001 From: Andy Lo Date: Tue, 19 Jul 2016 10:43:31 -0400 Subject: [PATCH] MI: Adjusted for change in heading markup for committee pages. --- openstates/mi/committees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstates/mi/committees.py b/openstates/mi/committees.py index c3e7a53cfe..3edf0ba79a 100644 --- a/openstates/mi/committees.py +++ b/openstates/mi/committees.py @@ -75,7 +75,7 @@ def scrape_senate_committee(self, url): html = self.get(url).text doc = lxml.html.fromstring(html) - name = doc.xpath('//h3/text()')[0] + name = doc.xpath('//div[@id="committeeleft"]//h2[1]/text()')[0] name = name.replace(' Committee', '') com = Committee(chamber='upper', committee=name)