In case it might be useful to anyone else, I just wrote a quick Chrome extension to download all PDFs on CourtListener when there are multiple attachments to one docket entry.

https://github.com/molly/courtlistener-download

#CourtListener #PACER

GitHub - molly/courtlistener-download: Chrome extension to download all files related to one docket entry on CourtListener

Chrome extension to download all files related to one docket entry on CourtListener - molly/courtlistener-download

GitHub

It also renames the files all nicely so you don't end up with that whole pile of files with names like "gov.uscourts.nysd.590939.407.26.pdf"

#CourtListener #PACER

I also just added support so it will work on PACER pages (iff you have the RECAP extension installed, and you should!)

#CourtListener #PACER

If you use PACER and you don't use RECAP, you should rectify that immediately: https://free.law/recap

#CourtListener #PACER

RECAP Suite — Turning PACER Around Since 2009

RECAP is an online archive and free extension for Firefox, Chrome and Safari that improves the experience of using PACER, the electronic public access system for the U.S. Federal District and Bankruptcy Courts. Once installed, every docket or PDF you purchase on PACER will be added to the [RECAP Archive][archive]. Anything somebody else has added to the archive will be available to you for free — right in PACER itself.

Free Law Project
CourtListener Multiple PDF Downloader

Download all files attached to one docket entry on CourtListener.

@molly0xfff Do you know of any community of people with unlimited access that take free requests for all files pertaining to a specific case?
@rosewsgf @molly0xfff we have a design for a system that would allow users to vote for docs they want and other users to buy those docs. Haven’t had time to build it.
@mlissner @rosewsgf I love this
@molly0xfff @rosewsgf it’ll be called the pray and pay system. Imagine a 🙏 button next to every doc.

@molly0xfff wow you really have the github username "molly"

i bet @mollyim is jealous

@molly0xfff for others who see this:

If you buy documents from PACER, please install the RECAP extension from the Free Law Project (who is behind CourtListener).

@Teri_Kanefield this may be of interest to you and your Readers who like to pull documents directly from the court filings.

Thank you @molly0xfff!

@molly0xfff This was an awesome tool, thank you for sharing it!
@molly0xfff but why would anyone want … oh. Right. Yep.
@molly0xfff Don’t threaten me with a good time!
@molly0xfff You're really becoming proficient in law research! I was going to ask if you'd consider adapting it to a Zotero translator, to import from Court Listener into the Zotero open source bibliography manager, but I saw one was recently added! https://www.zotero.org/ https://github.com/zotero/translators/blob/master/CourtListener.js #zotero
Zotero | Your personal research assistant

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share research.

@CubeThoughts i should, given that i use zotero. looks like that translator only works for opinions, whereas i'm mainly scrounging around in random filings

@molly0xfff Cool! They're making great strides with Zotero but I'm sure they can use all the help they can get. And as I understand the web page translators are js, maybe there's some reuse possible from the extension.

As you're using Zotero and doing things with law, you might want to have a look at Juris-M, a parallel fork of Zotero with extended capability for legal documents, including proper support for jurisdictions etc. https://juris-m.github.io/ #Jurism

The dev is here on Mastodon @fgbjr

The Jurism Project

for the laws and languages of the world

@CubeThoughts @molly0xfff Hi all. Currently working to bring Jurism level with Zotero 6.0.30, which should clear breakage of WP integration on some platforms.

There's been a brief hiatus in the work to replace some ageing equipment and acquire a latest-tech-compliant code-signing key, but I'll soon be back to doing the actual work on the code update.
https://gitHub.com/juris-m/zotero

GitHub - Juris-M/zotero: Juris-M is a variant of the free and friendly Zotero research platform, with support for legal and multilingual materials.

Juris-M is a variant of the free and friendly Zotero research platform, with support for legal and multilingual materials. - Juris-M/zotero

GitHub
@molly0xfff @CubeThoughts I wrote the translator but know fairly little about law research. I'm happy to make it work for filings, but would need some guidance on how those could usefully look in Zotero (which is, as you know, rather limited in terms of representing legal materials, hence @fgbjr 's Juris-m). Github issue or Zotero forum post both work -- link to this post so zotero-devs have context
@adam42smith @molly0xfff @CubeThoughts I worked on a Jurism-specific version of the CL translator, aiming to capture docket entries as attachments via the API. There were 2 problems. One was that the API throttles accounts that aren't logged in. We hacked around that by embedding an obfuscated key in the Jurism source. The other was key mismatches across the separately-sourced CL judgment and docket repositories. That was a CL issue that I reported to Mike, not sure if it's been resolved since?
@fgbjr @adam42smith @molly0xfff @CubeThoughts I know the zotero way is to scrape, but if y’all want microdata in the page, we should probably do that?

@mlissner @adam42smith @molly0xfff @CubeThoughts I'll defer to @adam42smith and others with more experience, but IIRC, the preference is for API transactions when available, with embedded microdata and raw scraping as second- and third-best alternatives.

(On the topic though, would embedded microdata include URIs of docket entries?)

@fgbjr @mlissner @molly0xfff @CubeThoughts Exactly: APIs or otherwise linked, structured metadata is definitely preferred, yes. The problem is that Zotero can't really handle private API keys, so if those are required, some version of scraping (with, again, any form of structure, microdata or otherwise, preferred).
@adam42smith @fgbjr @molly0xfff @CubeThoughts yeah, that’s why I suggested mircrodata. We have lots ofof APIs but they’re not all open.
@mlissner @adam42smith @molly0xfff @CubeThoughts If microdata included keys to navigate to related elements (linking docket, appeals, judgment, and maybe audio), a translator could leverage that. It would be great, but maybe unfeasible because addition of an appeal (say) would then require an update to microdata in related pages (?). It could get busy on the server side. (It might also expose CL page views to the same system load issues that private keys on the APIs address.)

@molly0xfff
@emptywheel

". . . a quick Chrome extension to download all PDFs on CourtListener when there are multiple attachments to one docket entry."

https://github.com/molly/courtlistener-download

(I've attempted to add Marcy Wheeler's address to this reply, so it posts at her site—I hope I'm doing it right. This is something that could possibly really benefit her . . .)

GitHub - molly/courtlistener-download: Chrome extension to download all files related to one docket entry on CourtListener

Chrome extension to download all files related to one docket entry on CourtListener - molly/courtlistener-download

GitHub
@molly0xfff Thanks for sharing this, very cool as this will be useful!
@molly0xfff
Any plans to make it official, i.e. put it into the Chrome Developer Marketplace thing? Just curious.
@negative12dollarbill yeah I submitted it for review just for kicks