FirecrawlF
Firecrawl5mo ago
zulfi

extract schema

hello,
I was playing around the extract endpoint of firecrawl in node (typescript). when i try to hit a url with the schema mentioned, it returns empty object, but when i remove the schema (even though the prompt mentions the same schema fields), it return them propelry in the result object. can someone tell me why? I am attaching the screenshot of the returned object when teh schema is not used, but returns empty object when schema is mentioned along the prompt.

I am attaching the github gist here which will show both the versions in code
https://gist.github.com/palodaman/f7c049661d88e6b2e1327ebe85511b63
image.png
Gist
firecrawl extract. GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?