mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 06:59:03 +08:00
Playwright page error schema (#1172)
* updated * udpated * updated * updated * added env * updated * updated * updated * updated * updated * updated docker file * updated docker compose * fixed validation error * reverted local changes to get ready for pr
This commit is contained in:
parent
46b187bc64
commit
037f64916a
@ -104,6 +104,8 @@ async def root(body: UrlModel):
|
||||
json_compatible_item_data = {
|
||||
"content": page_content,
|
||||
"pageStatusCode": page_status_code,
|
||||
"pageError": page_error
|
||||
}
|
||||
return JSONResponse(content=json_compatible_item_data)
|
||||
}
|
||||
|
||||
if page_error is not None:
|
||||
json_compatible_item_data["pageError"] = page_error
|
||||
return JSONResponse(content=json_compatible_item_data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user