From 15f0111c1c1f519aaad21fd406a065c39cba9db0 Mon Sep 17 00:00:00 2001 From: showerst Date: Mon, 11 Mar 2024 11:08:56 -0400 Subject: [PATCH] WV: Events: Fix cleaner regex order (#4881) --- scrapers/wv/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapers/wv/events.py b/scrapers/wv/events.py index 88be2475dc..1250ce36f0 100644 --- a/scrapers/wv/events.py +++ b/scrapers/wv/events.py @@ -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", @@ -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", ]