UNPKG

@harvestapi/scraper

Version:

HarvestAPI provides LinkedIn data scraping tools for real-time, high-performance scraping at a low cost. API allows to search for Linkedin `jobs`, `companies`, `profiles`, and `posts` using a wide range of filters.

15 lines (14 loc) 457 B
import { ScraperOptions } from './types'; export declare class BaseScraper { private options; private apiBaseUrl; logger: Required<ScraperOptions>['logger']; constructor(options: ScraperOptions); fetchApi({ path, params, addHeaders, method, body, }: { path: string; params?: any; addHeaders?: Record<string, string>; method?: 'GET' | 'POST' | 'PUT' | 'DELETE'; body?: any; }): Promise<any>; }