Some courts do not include a "View All" button for multi-file documents (notably CA Central District). We currently have no functionality built in to handle cases like that. Should probably just have it default to pulling the first file for these instances.
Traceback (most recent call last):
File "document_pull_012815.py", line 14, in
s.download_document(case_num, doc_num, doc_link)
File "/cygdrive/u/My Documents/Projects/Hubbard/Twiqbal/scrape_012815/scraper.py", line 541, in download_document
output = self.request_document(case_filename, document_link)
File "/cygdrive/u/My Documents/Projects/Hubbard/Twiqbal/scrape_012815/scraper.py", line 339, in request_document
'from \n\'' + document_link + '\'' )
ValueError: Could not identify case_id or de_seq_num from
'https://ecf.cacd.uscourts.gov/doc1/03109971413'
Some courts do not include a "View All" button for multi-file documents (notably CA Central District). We currently have no functionality built in to handle cases like that. Should probably just have it default to pulling the first file for these instances.
Traceback (most recent call last): File "document_pull_012815.py", line 14, in
s.download_document(case_num, doc_num, doc_link)
File "/cygdrive/u/My Documents/Projects/Hubbard/Twiqbal/scrape_012815/scraper.py", line 541, in download_document
output = self.request_document(case_filename, document_link)
File "/cygdrive/u/My Documents/Projects/Hubbard/Twiqbal/scrape_012815/scraper.py", line 339, in request_document
'from \n\'' + document_link + '\'' )
ValueError: Could not identify case_id or de_seq_num from
'https://ecf.cacd.uscourts.gov/doc1/03109971413'