@skypilot/scraper
Version:
Node-based scriptable web scraper
13 lines (12 loc) • 506 B
TypeScript
import { DirectoryLike } from '@skypilot/sugarbowl';
import type { BrowserOptions } from 'src/_types/scraper';
import { PlaywrightScraper } from 'src/clients/playwright/PlaywrightScraper';
interface CreateScraperWithDbParams {
collectionName?: string;
dbFileName?: string;
logFileName?: string;
siteName: string;
testDir: DirectoryLike;
}
export declare function createTestScraperWithDb(params: CreateScraperWithDbParams, browserOptions?: BrowserOptions): PlaywrightScraper;
export {};