freelawproject / juriscraper

An API to scrape American court websites for metadata.
https://free.law/juriscraper/
BSD 2-Clause "Simplified" License
340 stars 98 forks source link

Docket report error strings with unescaped periods causing parser validation to fail #1033

Closed nadahlberg closed 1 month ago

nadahlberg commented 1 month ago

Another small one:

"Case not found." is causing this docket fail (txsd 2:20-cr-00606):

Screenshot 2024-05-20 at 11 34 58 AM

I think the problem is that some of these error strings have literal periods whereas other strings include patterns (e.g. "The case type was.*but it must be").

Since we have both would it just make sense to escape all the punctuation manually?