Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Fix python sdk for extract
Eric Ciarla6383bf270a30
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.pyindex ea74d4e69..eecc15afc 100644--- a/apps/python-sdk/firecrawl/firecrawl.py+++ b/apps/python-sdk/firecrawl/firecrawl.py@@ -599,8 +599,8 @@ class FirecrawlApp:"""headers = self._prepare_headers()- #if not params or not params.get('prompt'):- # raise ValueError("Prompt is required")+ if not params or (not params.get('prompt') and not params.get('schema')):+ raise ValueError("Either prompt or schema is required")schema = params.get('schema')if schema: