Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fixed keyerror for data on sdk

rafaelmmiller7e9ad3cba70e
diff --git a/apps/python-sdk/firecrawl/__init__.py b/apps/python-sdk/firecrawl/__init__.py
index 24a4b00e7..207312b00 100644
--- a/apps/python-sdk/firecrawl/__init__.py
+++ b/apps/python-sdk/firecrawl/__init__.py
@@ -13,7 +13,7 @@ import os
from .firecrawl import FirecrawlApp # noqa
-__version__ = "1.6.2"
+__version__ = "1.6.3"
# Define the logger for the Firecrawl project
logger: logging.Logger = logging.getLogger("firecrawl")
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.py
index 43e940eac..591307843 100644
--- a/apps/python-sdk/firecrawl/firecrawl.py
+++ b/apps/python-sdk/firecrawl/firecrawl.py
@@ -629,7 +629,7 @@ class FirecrawlApp:
while 'next' in status_data:
status_response = self._get_request(status_data['next'], headers)
status_data = status_response.json()
- data.extend(status_data['data'])
+ data.extend(status_data.get('data', []))
status_data['data'] = data
return status_data
else: