feat(js-sdk/crawl): add complex webhook support

This commit is contained in:
Gergő Móricz 2024-11-13 19:36:28 +01:00
parent 1c1ac7ced3
commit 4470cdf731

View File

@ -153,7 +153,10 @@ export interface CrawlParams {
allowExternalLinks?: boolean;
ignoreSitemap?: boolean;
scrapeOptions?: CrawlScrapeOptions;
webhook?: string;
webhook?: string | {
url: string;
headers?: Record<string, string>;
};
deduplicateSimilarURLs?: boolean;
ignoreQueryParameters?: boolean;
}