F
Firecrawl16mo ago
Jack

Main content extraction using API

Is there an equivalent of the 'Extract only main content (no headers, navs, footers, etc.)' from the playground, that can be used in the API scrape call?
No description
2 Replies
Sachin
Sachin16mo ago
Hi @Jack , you might wanna try passing the below additional parameters to your firecrawl request for scraping - 'pageOptions': 'onlyMainContent': False # Only return the main content of the page excluding headers, navs, footers, etc. more info on the firecrawl parameters can be found here - https://docs.firecrawl.dev/api-reference/endpoint/scrape
Firecrawl Docs
Firecrawl Docs
Firecrawl allows you turn websites to LLM-ready data in seconds.
Jack
JackOP16mo ago
thank you @Sachin

Did you find this page helpful?