Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE YET GA: 2023 first special #4733

Merged
merged 3 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions scrapers/ga/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions scrapers/ga/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions scrapers/ga/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down