mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-06-04 11:24:40 +08:00
Update types.ts
This commit is contained in:
parent
0c5bd85540
commit
94d0b4be43
@ -286,6 +286,10 @@ const extractTransform = (obj) => {
|
|||||||
obj = { ...obj, waitFor: 5000 };
|
obj = { ...obj, waitFor: 5000 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (obj.formats?.includes("changeTracking") && obj.timeout === 30000) {
|
||||||
|
obj = { ...obj, timeout: 60000 };
|
||||||
|
}
|
||||||
|
|
||||||
if (obj.formats?.includes("json")) {
|
if (obj.formats?.includes("json")) {
|
||||||
obj.formats.push("extract");
|
obj.formats.push("extract");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user