brazilian-courts-scrappers
Version:
Data scrapper para fazer raspagem de dados de processos judiciais dos portais de tribunais do Brasil.
37 lines (36 loc) • 1.81 kB
TypeScript
import ScrappedProcesso, { SimpleType } from "../data-structures/ScrappedProcesso";
import ScrappedAndamento from "../data-structures/ScrappedAndamento";
import ScrappedUnidadeJurisdicional from "../data-structures/ScrappedUnidadeJurisdicional";
import ProcessoScrapper from "./ProcessoScrapper";
import { PartesReturn } from "./PartesScrapper";
export default class Pje1gTjbaProcessoScrapper extends ProcessoScrapper {
protected doc: Document;
protected static PROCESSO_HOME_PATH_PART: string;
protected static IGNORE_URLS_CONTAINING: string[];
protected static PJE1G_TJBA_ASSUNTO_OU_CLASSE_ID: RegExp;
protected static PJE1G_TJBA_ASSUNTO_OU_CLASSE_NOME: RegExp;
protected divMaisDetalhes: HTMLElement;
constructor(doc: Document);
fetchProcessoInfo(): Promise<ScrappedProcesso>;
checkProcessoHomepage(): boolean;
protected loadPageCheckpoints(): void;
protected ScrappeProcessoInfo(): Promise<ScrappedProcesso>;
protected getNumero(): string;
protected getNumeroRegional(): string;
protected getUrl(): URL;
protected getDataDistribuicao(): Date;
getDateFromPjeTjbaDateString(dateStr: string, timeStr?: string): Date;
protected getValorDaCausa(): number;
protected getTipoDeAcao(): SimpleType[];
protected getCausaDePedir(): SimpleType[];
protected getSegredoJustica(): boolean;
protected getJuizo(): ScrappedUnidadeJurisdicional;
protected getJuizAtual(): string;
protected getNumeroProcessoPrincipal(): string;
protected getNumerosIncidentes(): string[];
protected getNumerosProcessosRelacionados(): string[];
protected getPartes(): PartesReturn;
protected getAndamentos(): Promise<ScrappedAndamento[]>;
protected getPedidos(): string[];
protected getAudienciaFutura(): ScrappedAndamento;
}