F
Firecrawlβ€’15mo ago
Kyo

Excluding images in results

Is there any way to exclude images from markdown output? I think it doesn't provide any valuable context, and it is kind of bloating the results. The highlighted text is the only contextual content in this example. Or maybe some other tips to get cleaner results? πŸ™‚ Thx in advance
No description
4 Replies
p3nnywh1stl3
p3nnywh1stl3β€’15mo ago
also interested
Caleb
Calebβ€’15mo ago
Hey Kyo! yes, there is a way. Simply add 'img' to the removeTags parameter and it will return without the images:
pageOptions.removeTags

Tags, classes and ids to remove from the page. Use comma separated values. Example: 'script, .ad, #footer'
pageOptions.removeTags

Tags, classes and ids to remove from the page. Use comma separated values. Example: 'script, .ad, #footer'
Docs under pageOptions here => https://docs.firecrawl.dev/api-reference/endpoint/crawl
Firecrawl Docs
Firecrawl Docs
Firecrawl allows you turn websites to LLM-ready data in seconds.
p3nnywh1stl3
p3nnywh1stl3β€’15mo ago
["script", "style", "nav", "header", "footer", ".advertisement", ".sidebar", ".nav", ".menu", "#comments", "img", "a"] tidies things up nicely for me in remove tags πŸ™‚
Janice
Janiceβ€’15mo ago
@caleb @p3nnywh1stl3 Thank you for this helpful information!

Did you find this page helpful?