Firecrawl
Web scraping with JS/SPA support
With emma's Firecrawl integration, you can scrape web pages including JavaScript-rendered and single-page applications. Get clean markdown output from any URL.
Features
Firecrawl_Operator supports the following 1 tool:
| Category | Tools | |||||||
|---|---|---|---|---|---|---|---|---|
| Scrape | 1 | |||||||
| ||||||||
Main Parameters
| Parameter | Description |
|---|---|
| url | URL to scrape |
| formats | Output formats (markdown, html, etc.) |
| onlyMainContent | Extract only main content |
| waitFor | Wait time in milliseconds for JS rendering |
Prerequisites
- • emma account
- • Firecrawl account
- • Firecrawl API key
Setup
1. Install the package
npm install @duzzle/firecrawl-integration2. Initialize
import { DuzzleFirecrawl } from '@duzzle/firecrawl-integration';
const firecrawl = new DuzzleFirecrawl({
apiKey: process.env.DUZZLE_API_KEY,
firecrawlApiKey: process.env.FIRECRAWL_API_KEY
});3. Scrape
// Scrape URL with JS/SPA support
const result = await firecrawl.scrape({
url: 'https://example.com/dynamic-page',
formats: ['markdown', 'html'],
onlyMainContent: true,
waitFor: 2000
});
console.log('Markdown:', result.markdown);
console.log('HTML:', result.html);