pje-download

Community

Download PJE PDFs automatically via cookies.

Authorgeorgemarmelstein
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates downloading full court case documents (PDFs) from the PJE TRF5 by using an authenticated session captured as cookies, avoiding repetitive manual navigation and download steps.

Core Features & Use Cases

  • PJE session handling: Uses HAR-derived cookies/headers or a pre-captured session file to authenticate REST/JSF requests safely.
  • Process listing by queue: Retrieves case/process lists for either “sentença” or “decisão” queues.
  • Selective and bulk PDF download: Downloads complete PDFs for a batch of processes or performs targeted downloads by document type for large, document-heavy cases.
  • Process lookup by CNJ: Finds the internal process ID from the CNJ number to bootstrap the rest of the workflow.
  • Use Case: You need to download PDFs for multiple TRF5 PJE “sentença” items and, for oversized processes, you only want nuclear/important document types to reduce time and storage.

Quick Start

First extract or obtain a valid pje_session.json, then run the following single instruction: create a list of “sentenca” processes by executing the process listing script and saving the result to processos.json.

Dependency Matrix

Required Modules

requestsbeautifulsoup4

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pje-download
Download link: https://github.com/georgemarmelstein/sistema-marmelstein/archive/main.zip#pje-download

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.