How do I get a screenshot from scrapeUrl
when using the NodeJS SDK?
#583
Answered
by
nickscamara
OliverWales
asked this question in
Q&A
-
According to https://docs.firecrawl.dev/v1-welcome#scrape-formats, screenshot is one of the available formats. However, when I try the following request I just get back the same result as if I had not set this parameter. The NodeJS types are not helpful as the params are typed as result = await app.scrapeUrl(url, {
formats: ['markdown', 'screenshot'],
}) How can I get a screenshot from the NodeJS SDK |
Beta Was this translation helpful? Give feedback.
Answered by
nickscamara
Aug 29, 2024
Replies: 1 comment 5 replies
-
Hey Oliver, you should get it from |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
OliverWales
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Oliver, you should get it from
result.screenshot
. Looping in @rafaelsideguide here to take a look at the type issues.