From cd1a2d5dd8442158c580c134b90a361dbf9ab133 Mon Sep 17 00:00:00 2001 From: ttys0dev <126845556+ttys0dev@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:32:23 -0600 Subject: [PATCH] Handle document number view format --- juriscraper/pacer/docket_report.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/juriscraper/pacer/docket_report.py b/juriscraper/pacer/docket_report.py index 20201dad2..e1c8eed6b 100644 --- a/juriscraper/pacer/docket_report.py +++ b/juriscraper/pacer/docket_report.py @@ -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