mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 19:26:03 +08:00
fix(scrapeURL/fire-engine): pass geolocation
This commit is contained in:
parent
066071cd54
commit
071b9a01c3
@ -144,7 +144,7 @@ export async function scrapeURLWithFireEngineChromeCDP(
|
|||||||
}
|
}
|
||||||
: {}),
|
: {}),
|
||||||
priority: meta.internalOptions.priority,
|
priority: meta.internalOptions.priority,
|
||||||
geolocation: meta.options.geolocation,
|
geolocation: meta.options.geolocation ?? meta.options.location,
|
||||||
mobile: meta.options.mobile,
|
mobile: meta.options.mobile,
|
||||||
timeout, // TODO: better timeout logic
|
timeout, // TODO: better timeout logic
|
||||||
disableSmartWaitCache: meta.internalOptions.disableSmartWaitCache,
|
disableSmartWaitCache: meta.internalOptions.disableSmartWaitCache,
|
||||||
@ -227,7 +227,7 @@ export async function scrapeURLWithFireEnginePlaywright(
|
|||||||
screenshot: meta.options.formats.includes("screenshot"),
|
screenshot: meta.options.formats.includes("screenshot"),
|
||||||
fullPageScreenshot: meta.options.formats.includes("screenshot@fullPage"),
|
fullPageScreenshot: meta.options.formats.includes("screenshot@fullPage"),
|
||||||
wait: meta.options.waitFor,
|
wait: meta.options.waitFor,
|
||||||
geolocation: meta.options.geolocation,
|
geolocation: meta.options.geolocation ?? meta.options.location,
|
||||||
|
|
||||||
timeout,
|
timeout,
|
||||||
};
|
};
|
||||||
@ -286,7 +286,7 @@ export async function scrapeURLWithFireEngineTLSClient(
|
|||||||
priority: meta.internalOptions.priority,
|
priority: meta.internalOptions.priority,
|
||||||
|
|
||||||
atsv: meta.internalOptions.atsv,
|
atsv: meta.internalOptions.atsv,
|
||||||
geolocation: meta.options.geolocation,
|
geolocation: meta.options.geolocation ?? meta.options.location,
|
||||||
disableJsDom: meta.internalOptions.v0DisableJsDom,
|
disableJsDom: meta.internalOptions.v0DisableJsDom,
|
||||||
|
|
||||||
timeout,
|
timeout,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user