Skip to main content

Django

Use Firecrawl with Django to scrape, search, and interact with web data in your Python web application.
1 min read

Prerequisites#

Install the SDK#

Add your API key to your Django settings or environment:

Create views#

Add search, scrape, and interact views to your Django app. In views.py:

Wire up URLs#

In urls.py:

Test it#

Management command#

Use Firecrawl in a Django management command for scripts and data pipelines. Create management/commands/scrape.py:

Next steps#