mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 08:00:38 +08:00
added missing variables
This commit is contained in:
parent
a37ec6d17c
commit
b301ffc922
@ -589,6 +589,9 @@ export class WebScraperDataProvider {
|
|||||||
includeLinks: options.pageOptions?.includeLinks ?? true,
|
includeLinks: options.pageOptions?.includeLinks ?? true,
|
||||||
fullPageScreenshot: options.pageOptions?.fullPageScreenshot ?? false,
|
fullPageScreenshot: options.pageOptions?.fullPageScreenshot ?? false,
|
||||||
screenshot: options.pageOptions?.screenshot ?? false,
|
screenshot: options.pageOptions?.screenshot ?? false,
|
||||||
|
useFastMode: options.pageOptions?.useFastMode ?? false,
|
||||||
|
disableJSDom: options.pageOptions?.disableJSDom ?? false,
|
||||||
|
atsv: options.pageOptions?.atsv ?? false
|
||||||
};
|
};
|
||||||
this.extractorOptions = options.extractorOptions ?? { mode: "markdown" };
|
this.extractorOptions = options.extractorOptions ?? { mode: "markdown" };
|
||||||
this.replaceAllPathsWithAbsolutePaths =
|
this.replaceAllPathsWithAbsolutePaths =
|
||||||
|
@ -146,6 +146,9 @@ export async function scrapSingleUrl(
|
|||||||
parsePDF: pageOptions.parsePDF ?? true,
|
parsePDF: pageOptions.parsePDF ?? true,
|
||||||
removeTags: pageOptions.removeTags ?? [],
|
removeTags: pageOptions.removeTags ?? [],
|
||||||
onlyIncludeTags: pageOptions.onlyIncludeTags ?? [],
|
onlyIncludeTags: pageOptions.onlyIncludeTags ?? [],
|
||||||
|
useFastMode: pageOptions.useFastMode ?? false,
|
||||||
|
disableJSDom: pageOptions.disableJSDom ?? false,
|
||||||
|
atsv: pageOptions.atsv ?? false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extractorOptions) {
|
if (extractorOptions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user