From 2d597672bec308d25e75520cf55f4cc3a12a3d2b Mon Sep 17 00:00:00 2001 From: Anjor Kanekar Date: Tue, 3 Sep 2024 22:36:29 +0100 Subject: [PATCH] return links --- apps/python-sdk/firecrawl/firecrawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.py index 97f4e04f..7482e63e 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 + return response['links'] else: raise Exception(f'Failed to map URL. Error: {response["error"]}') else: