UNPKG

brazilian-courts-scrappers

Version:

Data scrapper para fazer raspagem de dados de processos judiciais dos portais de tribunais do Brasil.

19 lines (18 loc) 975 B
import ScrappedAndamento from "../data-structures/ScrappedAndamento"; import AndamentosScrapper from "./AndamentosScrapper"; declare class ProjudiTjbaAndamentosScrapper extends AndamentosScrapper { protected doc: Document; protected HTML_BODY_REGEX: RegExp; protected divAndamentosTbody: HTMLElement; constructor(doc: Document); fetchAndamentosInfo(): Promise<ScrappedAndamento[] | undefined>; protected loadPageCheckpoints(): void; protected getAndamentos(): Promise<ScrappedAndamento[] | undefined>; protected brStringToDate(str: string): Date; protected isCancelado(andamentoTd: HTMLElement): boolean; protected getDocumentTextContentIfExists(tr: HTMLElement): Promise<string>; protected getDocumentTextContent(uri: string): Promise<string>; protected getBodyInnerHtmlFromHtmlString(htmlStr: string): string; protected documentIsNotRelevant(textContent: string): boolean; } export default ProjudiTjbaAndamentosScrapper;