mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 06:49:05 +08:00
Set default timeout to 120s when proxy is stealth (#1464)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: mogery@sideguide.dev <mogery@sideguide.dev>
This commit is contained in:
parent
31e24e907c
commit
a840db9ef3
@ -352,6 +352,10 @@ const extractTransform = (obj) => {
|
||||
obj = { ...obj, timeout: 300000 };
|
||||
}
|
||||
|
||||
if (obj.proxy === "stealth" && obj.timeout === 30000) {
|
||||
obj = { ...obj, timeout: 120000 };
|
||||
}
|
||||
|
||||
if (obj.formats?.includes("json")) {
|
||||
obj.formats.push("extract");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user