juriscraper icon indicating copy to clipboard operation
juriscraper copied to clipboard

Add scrapers for Texas court data

Open MorganBennetDev opened this issue 2 weeks ago • 3 comments

Adds scrapers to handle Texas court data along with a Scraper ABC, which future scrapers should inherit from. Uses TypedDicts to ensure output of Texas scrapers is always in the appropriate schema.

Resolves #1680

Changes

  • Add Scraper ABC, which scrapers should inherit from, in order to help with type hints and ensure that all scrapers have necessary methods implemented.
  • Add juriscraper.state submodule to organize Texas scrapers and future state scrapers.
  • Add TexasSupremeCourtScraper, TexasCourtOfCriminalAppealsScraper, and TexasCourtOfAppealsScraper scrapers to handle their respective docket data, along with TypedDicts to define output schema for each scraper.
  • Add TexasCommonScraper to contain extraction functionality common to all three courts.
  • Add basic parse_table method to html_utils.py to simplify extraction of tabular data from HTML documents.

MorganBennetDev avatar Dec 10 '25 16:12 MorganBennetDev