UNPKG

israeli-bank-scrapers-core

Version:

Provide scrapers for all major Israeli banks and credit card companies

25 lines (24 loc) 805 B
import { type TransactionsAccount } from '../transactions'; import { BaseScraperWithBrowser, type PossibleLoginResults } from './base-scraper-with-browser'; type ScraperSpecificCredentials = { userCode: string; password: string; }; declare class HapoalimScraper extends BaseScraperWithBrowser<ScraperSpecificCredentials> { get baseUrl(): string; getLoginOptions(credentials: ScraperSpecificCredentials): { loginUrl: string; fields: { selector: string; value: string; }[]; submitButtonSelector: string; postAction: () => Promise<void>; possibleResults: PossibleLoginResults; }; fetchData(): Promise<{ success: boolean; accounts: TransactionsAccount[]; }>; } export default HapoalimScraper;