Skip to content

Commit

Permalink
feat(pacer): Checks for "No matter of public record" message
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Oct 31, 2024
1 parent 4a611bc commit 4f9e6a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions juriscraper/pacer/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ def download_pdf(
if b"You do not have access to this transcript." in r.content:
error = f"Unable to get transcript. {pacer_case_id=}, {url=}"

if b"No matter of public record" in r.content:
error = (
f"No matter of public record has been filed. "
f"{pacer_case_id=}, {url=}"
)
sealed_document_phrases = [
b"Sealed Document",
b"Under Seal",
Expand Down

0 comments on commit 4f9e6a7

Please sign in to comment.