diff --git a/scrapers/ga/__init__.py b/scrapers/ga/__init__.py index feeb143181..e15077e6b4 100644 --- a/scrapers/ga/__init__.py +++ b/scrapers/ga/__init__.py @@ -90,6 +90,14 @@ class Georgia(State): "end_date": "2024-04-02", "active": True, }, + { + "_scraped_name": "2023 Special Session", + "identifier": "2023_ss", + "name": "2023 Special Session", + "start_date": "2023-11-29", + "end_date": "2021-12-01", + "active": True, + }, ] ignored_scraped_sessions = [ "2009-2010 Regular Session", diff --git a/scrapers/ga/bills.py b/scrapers/ga/bills.py index af29dd08dd..19fae2bd8d 100644 --- a/scrapers/ga/bills.py +++ b/scrapers/ga/bills.py @@ -295,6 +295,11 @@ def scrape(self, session=None, chamber=None): url = ( f"https://www.legis.ga.gov/api/legislation/document/{bill_bit}" ) + if session == "2023_ss": + # gets url as 2023EX220573.pdf + # so would be easier to put together using session & version id + # to get https://www.legis.ga.gov/api/legislation/document/2023EX/220573 + url = f"https://www.legis.ga.gov/api/legislation/document/2023EX/{doc_id}" link = bill.add_version_link(name, url, media_type="application/pdf") link["extras"] = { "_internal_document_id": doc_id, diff --git a/scrapers/ga/util.py b/scrapers/ga/util.py index 065fa8aa3c..81c1e9832e 100644 --- a/scrapers/ga/util.py +++ b/scrapers/ga/util.py @@ -52,6 +52,7 @@ def _(): # available via the session dropdown on # http://www.legis.ga.gov/Legislation/en-US/Search.aspx SESSION_SITE_IDS = { + "2023_ss": 1032, "2023_24": 1031, "2021_ss": 1030, "2021_22": 1029,