Skip to content

Commit

Permalink
FL: activate 2025A and 2025B special sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Jan 28, 2025
1 parent 4029012 commit 199095b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 9 additions & 1 deletion scrapers/fl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,15 @@ class Florida(State):
"classification": "special",
"start_date": "2025-01-27",
"end_date": "2025-12-31", # est
"active": False,
"active": True,
},
{
"name": "2025 Special Session B",
"identifier": "2025B",
"classification": "special",
"start_date": "2025-01-27",
"end_date": "2025-12-31", # est
"active": True,
},
]
ignored_scraped_sessions = [
Expand Down
8 changes: 6 additions & 2 deletions scrapers/fl/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,13 @@ class HouseSearchPage(HtmlListPage):

def get_source_from_input(self):
url = "https://flhouse.gov/Sections/Bills/bills.aspx"
# Keep the digits and all following characters in the bill's ID
bill_number = re.search(r"^\w+\s(\d+\w*)$", self.input.identifier).group(1)
# Keep the digits, as of 2025 flhouse.gov seems to be stripping any trailing letters
# eg entering "1A" into https://flhouse.gov/Sections/Bills/bills.aspx results in
# a URL param that looks like billNumber=1
bill_number = re.search(r"^\w+\s(\d+)\w*$", self.input.identifier).group(1)
session_number = {
"2025B": "109",
"2025A": "107",
"2025": "105",
"2024": "103",
"2023C": "104",
Expand Down

0 comments on commit 199095b

Please sign in to comment.