Best practices for using firecrawl scrape
mainTo get the most out of the firecrawl scrape command, follow these recommendations:
- Prefer plain scrape over
--query: It is often more efficient to scrape the page to a file and then use local tools likegrepor an LLM to reason over the full markdown content. This avoids the 5-credit cost of--query. - Scrape before Interact: Use
scrapefor static or JS-rendered content. Only escalate to theinteractcommand if you need to perform actions like clicking buttons, filling forms, or handling pagination. - Quote your URLs: Always wrap URLs in quotes (e.g.,
"<url>") in your terminal to prevent the shell from misinterpreting special characters like?or&. - Concurrency: Multiple URLs are processed concurrently. You can check your current concurrency limit using
firecrawl --status. - Naming Convention: When saving files, a common pattern is
.firecrawl/{site}-{path}.md.