Our first Launch Week is over! See the recap 🚀

August 30, 2024

•

Eric Ciarla imageEric Ciarla

Launch Week I / Day 5: Real-Time Crawling with WebSockets

Launch Week I / Day 5: Real-Time Crawling with WebSockets image

Welcome to Day 5 of Firecrawl’s Launch Week! We’re excited to introduce an exciting new feature that will bring your web scraping projects to the next level: Real-Time Crawling with WebSockets.

Introducing Crawl URL and Watch

We’re thrilled to announce our new WebSocket-based method, Crawl URL and Watch. This powerful feature enables real-time data extraction and monitoring, opening up new possibilities for immediate data processing.

How It Works

The Crawl URL and Watch method initiates a crawl job and returns a watcher object. You can then add event listeners for various events like “document” (when a new page is crawled), “error” (if an error occurs), and “done” (when the crawl is complete).

This approach allows you to process data in real-time, react to errors immediately, and know exactly when your crawl is finished.

We’re excited to see how you’ll use this new feature to enhance your web scraping projects and create more dynamic, responsive applications.

Check out our documentation for a detailed guide on how to implement Crawl URL and Watch in your projects: Firecrawl WebSocket Documentation

Ready to Build?

Start scraping web data for your AI apps today.
No credit card needed.

About the Author

Eric Ciarla image
Eric Ciarla@ericciarla

Eric Ciarla is the Chief Operating Officer (COO) of Firecrawl and leads marketing. He also worked on Mendable.ai and sold it to companies like Snapchat, Coinbase, and MongoDB. Previously worked at Ford and Fracta as a Data Scientist. Eric also co-founded SideGuide, a tool for learning code within VS Code with 50,000 users.

More articles by Eric Ciarla