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

AK: 2025 #5211

Merged
merged 1 commit into from
Jan 10, 2025
Merged
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
9 changes: 8 additions & 1 deletion scrapers/ak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ class Alaska(State):
"name": "33rd Legislature (2023-2024)",
"start_date": "2023-01-17",
"end_date": "2024-05-15",
"active": False,
},
{
"_scraped_name": "34th Legislature (2025-2026)",
"identifier": "34",
"name": "34th Legislature (2025-2026)",
"start_date": "2025-01-21",
"end_date": "2025-05-21",
"active": True,
},
]
Expand All @@ -69,7 +77,6 @@ class Alaska(State):
]

def get_session_list(self):
return [session["_scraped_name"] for session in self.legislative_sessions]
return url_xpath(
"https://www.akleg.gov/basis/Home/Archive",
'//div[@id="fullpage"]//a[contains(@href, "/BillsandLaws/")]//text()',
Expand Down
Loading