Skip to content

Commit

Permalink
Merge pull request #5064 from alexobaseki/tx-improve-event-participants
Browse files Browse the repository at this point in the history
TX: strip title from event participants name
  • Loading branch information
alexobaseki authored Oct 24, 2024
2 parents 0356e80 + fc1fe7f commit 7d13e50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scrapers/tx/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d13e50

Please sign in to comment.