Skip to content

Commit

Permalink
WV: Events: Fix cleaner regex order (#4881)
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst authored Mar 11, 2024
1 parent 4f88e0e commit 15f0111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/wv/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def clean_date(self, when):
when = ",".join(when.split(",")[:2])

removals = [
r"(\d+|Thirty) (min\.|mins\.|minutes) After (.*)",
r"Immediately(.*)",
r"Time Announced(.*)",
r"(?:Shortly| One Hour)?\s*(After|following)\s*(?:the)?\s*(?:second)?\s*Floor Session",
Expand All @@ -176,7 +177,6 @@ def clean_date(self, when):
r"\d+ minutes following (the evening floor|conclusion of floor)?\s*session(.*)",
r",?\s+following\s+floor\s+session",
r"ONE HOUR BEFORE SENATE FLOOR SESSION(.*)",
r"(\d+|Thirty) (min\.|mins\.|minutes) After (.*)",
r",\s+\d+ mins following (.*)",
r", To be Announced on the Floor",
]
Expand Down

0 comments on commit 15f0111

Please sign in to comment.