Skip to content

Commit

Permalink
Handle document number view format
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys0dev committed Oct 19, 2024
1 parent 4932864 commit cd1a2d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions juriscraper/pacer/docket_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -1641,6 +1641,8 @@ def _get_document_number(self, cell):
if first_word.isdigit():
return first_word
else:
if first_word == "view" and len(words) >= 2:
return re.sub("[\\s\u00A0]", "", words[1])
return first_word
return None

Expand Down

0 comments on commit cd1a2d5

Please sign in to comment.