Skip to content

Commit

Permalink
Update default year
Browse files Browse the repository at this point in the history
  • Loading branch information
msj committed Dec 18, 2023
1 parent 81731d3 commit 8c60d03
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Empty file.
2 changes: 1 addition & 1 deletion courtscraper/spiders/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class UnsuccessfulAutomation(Exception):

class CourtSpiderBase(ABC, Spider):
def __init__(
self, division="2", year=2022, start=0, case_numbers_file=None, **kwargs
self, division="2", year=2023, start=0, case_numbers_file=None, **kwargs
):
self.year = year
self.misses = set()
Expand Down
2 changes: 1 addition & 1 deletion courtscraper/spiders/chancery.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ChancerySpider(CourtSpiderBase):
name = "chancery"
url = "https://casesearch.cookcountyclerkofcourt.org/CivilCaseSearchAPI.aspx"

def __init__(self, year=2022, **kwargs):
def __init__(self, year=2023, **kwargs):
self.case_type = CASE_FORMAT
super().__init__(**kwargs)

Expand Down
2 changes: 1 addition & 1 deletion courtscraper/spiders/civil.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class CivilSpider(CourtSpiderBase):
name = "civil"
url = "https://casesearch.cookcountyclerkofcourt.org/CivilCaseSearchAPI.aspx"

def __init__(self, division="2", year=2022, **kwargs):
def __init__(self, division="2", year=2023, **kwargs):
self.case_type = DIVISIONS[division]
super().__init__(**kwargs)

Expand Down

0 comments on commit 8c60d03

Please sign in to comment.