From f52770f80aa15e61035ef05a8ac703867b039aca Mon Sep 17 00:00:00 2001 From: John Seekins Date: Tue, 29 Aug 2023 15:54:16 -0600 Subject: [PATCH] ignore old sessions until they have consistent formatting Signed-off-by: John Seekins --- scrapers/gu/__init__.py | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/scrapers/gu/__init__.py b/scrapers/gu/__init__.py index 664313322f..6f68b1a61f 100644 --- a/scrapers/gu/__init__.py +++ b/scrapers/gu/__init__.py @@ -6,6 +6,7 @@ class Guam(State): scrapers = { "bills": GUBillScraper, } + # sessions before 37th are missing many labels legislative_sessions = [ { "_scraped_name": "37th", @@ -16,7 +17,44 @@ class Guam(State): "active": True, }, ] - ignored_scraped_sessions = [] + ignored_scraped_sessions = [ + "36th Guam Legislature", + "35th Guam Legislature", + "34th Guam Legislature", + "33th Guam Legislature", + "32th Guam Legislature", + "31th Guam Legislature", + "30th Guam Legislature", + "29th Guam Legislature", + "28th Guam Legislature", + "27th Guam Legislature", + "26th Guam Legislature", + "25th Guam Legislature", + "24th Guam Legislature", + "23th Guam Legislature", + "22th Guam Legislature", + "21th Guam Legislature", + "20th Guam Legislature", + "19th Guam Legislature", + "18th Guam Legislature", + "17th Guam Legislature", + "16th Guam Legislature", + "15th Guam Legislature", + "14th Guam Legislature", + "13th Guam Legislature", + "12th Guam Legislature", + "11th Guam Legislature", + "10th Guam Legislature", + "9th Guam Legislature", + "8th Guam Legislature", + "7th Guam Legislature", + "6th Guam Legislature", + "5th Guam Legislature", + "4th Guam Legislature", + "3rd Guam Legislature", + "2nd Guam Legislature", + "1st Guam Legislature", + ] def get_session_list(self): return [s["identifier"] for s in self.legislative_sessions]