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
Removed unnecessary If block
Matt Joyce48e91c89e7bb
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.pyindex d98640756..62db7a290 100644--- a/apps/python-sdk/firecrawl/firecrawl.py+++ b/apps/python-sdk/firecrawl/firecrawl.py@@ -264,8 +264,7 @@ class FirecrawlApp:else:raise Exception('Crawl job completed but no data was returned')elif status_data['status'] in ['active', 'paused', 'pending', 'queued']:- if timeout < 2:- timeout = 2+ timeout=max(timeout,2)time.sleep(timeout) # Wait for the specified timeout before checking againelse:raise Exception(f'Crawl job failed or was stopped. Status: {status_data["status"]}')