diff --git a/scrapers/tx/events.py b/scrapers/tx/events.py index d5a7661662..ea9ef2823e 100644 --- a/scrapers/tx/events.py +++ b/scrapers/tx/events.py @@ -88,6 +88,7 @@ def scrape_event_page(self, session, chamber, url, datetime): chair = None if "CHAIR" in metainfo: chair = metainfo["CHAIR"] + chair = re.sub(r"(Rep\. |Senator |Representative |Sen\. )", "", chair) plaintext = re.sub(r"\s+", " ", plaintext).strip() bills = bill_re.findall(plaintext)