Skip to main content
Web Scrape stage showing Firecrawl content extraction from URLs
The Web Scrape stage extracts content from web URLs using Firecrawl. It handles JavaScript rendering, content extraction, and structured parsing to add web content to your retrieval pipeline.
Stage Category: APPLY (Enriches documents with scraped content)Transformation: N documents → N documents (with web content added)

When to Use

When NOT to Use

Parameters

Configuration Examples

Output Schema

Markdown Output (default)

Full Extraction

Error Case

Firecrawl Features

Use wait_for when scraping JavaScript-heavy sites. Start with 2000-3000ms and adjust based on page complexity.

Performance

Web scraping adds significant latency. Use sparingly and consider pre-indexing frequently accessed content.

Common Pipeline Patterns

Enrich Documents with Referenced Content

Scrape and Summarize

Error Handling

Rate Limits and Best Practices

  1. Batch wisely: Limit to 5-10 URLs per pipeline run
  2. Cache results: Consider storing scraped content
  3. Respect robots.txt: Firecrawl handles this automatically
  4. Use timeouts: Set appropriate timeout_ms for your use case