courts.tjdft.client.TJDFTScraper
courts.tjdft.client.TJDFTScraper()
Scraper for the Court of Justice of the Federal District and Territories (TJDFT).
Methods
Name | Description |
---|---|
cjsg | Searches for TJDFT jurisprudence in a simplified way (download + parse). |
cjsg_download | Downloads raw search results from the TJDFT jurisprudence search (using requests). |
cjsg_parse | Extracts structured information from the raw TJDFT search results. |
cpopg | Stub for compatibility with BaseScraper. |
cposg | Stub for compatibility with BaseScraper. |
cjsg
=0) courts.tjdft.client.TJDFTScraper.cjsg(query, paginas
Searches for TJDFT jurisprudence in a simplified way (download + parse). Returns a ready-to-analyze DataFrame.
cjsg_download
courts.tjdft.client.TJDFTScraper.cjsg_download(
query,=0,
paginas=True,
sinonimos=True,
espelho=False,
inteiro_teor=10,
quantidade_por_pagina )
Downloads raw search results from the TJDFT jurisprudence search (using requests). Returns a list of raw results (JSON).
cjsg_parse
courts.tjdft.client.TJDFTScraper.cjsg_parse(resultados_brutos)
Extracts structured information from the raw TJDFT search results. Returns all fields present in each item.
cpopg
courts.tjdft.client.TJDFTScraper.cpopg(id_cnj)
Stub for compatibility with BaseScraper.
cposg
courts.tjdft.client.TJDFTScraper.cposg(id_cnj)
Stub for compatibility with BaseScraper.