Skip to content

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

Revert "return links"

Gergő Móricz506d5c2716c8
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.py
index 7482e63e4..97f4e04f8 100644
--- a/apps/python-sdk/firecrawl/firecrawl.py
+++ b/apps/python-sdk/firecrawl/firecrawl.py
@@ -238,7 +238,7 @@ class FirecrawlApp:
if response.status_code == 200:
response = response.json()
if response['success'] and 'links' in response:
- return response['links']
+ return response
else:
raise Exception(f'Failed to map URL. Error: {response["error"]}')
else: