mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Update fireEngine.ts
This commit is contained in:
parent
fbb5f23016
commit
dfdbae74c6
|
@ -194,7 +194,7 @@ export async function scrapWithFireEngine({
|
||||||
logParams.error_message = data.pageError ?? data.error;
|
logParams.error_message = data.pageError ?? data.error;
|
||||||
return {
|
return {
|
||||||
html: data.content ?? "",
|
html: data.content ?? "",
|
||||||
screenshots: data.screenshots,
|
screenshots: data.screenshots ?? [data.screenshot] ?? [],
|
||||||
pageStatusCode: data.pageStatusCode,
|
pageStatusCode: data.pageStatusCode,
|
||||||
pageError: data.pageError ?? data.error,
|
pageError: data.pageError ?? data.error,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user