mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-09-23 15:30:25 +00:00
fix(scrapeURL/fire-engine): timeouts
This commit is contained in:
parent
5e267f92ff
commit
afbd01299a
@ -136,7 +136,7 @@ export async function scrapeURLWithFireEngineChromeCDP(
|
|||||||
priority: meta.internalOptions.priority,
|
priority: meta.internalOptions.priority,
|
||||||
geolocation: meta.options.geolocation,
|
geolocation: meta.options.geolocation,
|
||||||
mobile: meta.options.mobile,
|
mobile: meta.options.mobile,
|
||||||
timeout: meta.options.timeout === undefined ? 300000 : undefined, // TODO: better timeout logic
|
timeout: meta.options.timeout === undefined ? 300000 : meta.options.timeout, // TODO: better timeout logic
|
||||||
disableSmartWaitCache: meta.internalOptions.disableSmartWaitCache,
|
disableSmartWaitCache: meta.internalOptions.disableSmartWaitCache,
|
||||||
// TODO: scrollXPaths
|
// TODO: scrollXPaths
|
||||||
};
|
};
|
||||||
@ -220,7 +220,7 @@ export async function scrapeURLWithFireEnginePlaywright(
|
|||||||
wait: meta.options.waitFor,
|
wait: meta.options.waitFor,
|
||||||
geolocation: meta.options.geolocation,
|
geolocation: meta.options.geolocation,
|
||||||
|
|
||||||
timeout: meta.options.timeout === undefined ? 300000 : undefined, // TODO: better timeout logic
|
timeout: meta.options.timeout === undefined ? 300000 : meta.options.timeout, // TODO: better timeout logic
|
||||||
};
|
};
|
||||||
|
|
||||||
let response = await performFireEngineScrape(
|
let response = await performFireEngineScrape(
|
||||||
@ -279,7 +279,7 @@ export async function scrapeURLWithFireEngineTLSClient(
|
|||||||
geolocation: meta.options.geolocation,
|
geolocation: meta.options.geolocation,
|
||||||
disableJsDom: meta.internalOptions.v0DisableJsDom,
|
disableJsDom: meta.internalOptions.v0DisableJsDom,
|
||||||
|
|
||||||
timeout: meta.options.timeout === undefined ? 300000 : undefined, // TODO: better timeout logic
|
timeout: meta.options.timeout === undefined ? 30000 : meta.options.timeout, // TODO: better timeout logic
|
||||||
};
|
};
|
||||||
|
|
||||||
let response = await performFireEngineScrape(
|
let response = await performFireEngineScrape(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user