freelawproject / recap

This repository is for filing issues on any RECAP-related effort.
https://free.law/recap/
12 stars 4 forks source link

Extension failing to capture attachment pages with no form at the bottom #369

Closed ERosendo closed 2 weeks ago

ERosendo commented 5 months ago

A user reported that the extension fails to upload attachment pages from Zhoie Perez v. City of Los Angeles. I've debugged this issue and noticed those attachment pages are missing some buttons typically found at the bottom of the page (I compared them to other cases where our extension works correctly, e.g., case 1:16-cv-00745). These missing elements disrupt the extension's functionality because it tries to extract data (the pacer_case_id) from that section, but it is unavailable on the page.

Here are screenshots of this page:

This is from case 1:16-cv-00745:

image (3)

This is from case 2:22-cv-08227:

Document Selection Menu

The extension can upload attachment pages from Zhoie Perez v. City of Los Angeles when a user clicks the "Buy on Pacer" button available in the Docket page on Courtlistener. This button provides a link with the pacer_case_id embedded in the query parameters, so the extension can retrieve what it needs from the link and still upload the attachment page even if some data is missing from the page itself.

mlissner commented 5 months ago

I put this on the top of your next RECAP sprint, after ACMS is done.

mlissner commented 2 weeks ago

Fixed via freelawproject/recap-chrome#400.