From 506d5c2716c8a4c6f7029cd36f091e5d426fece2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Thu, 19 Sep 2024 20:07:06 +0200 Subject: [PATCH] Revert "return links" This reverts commit 2d597672bec308d25e75520cf55f4cc3a12a3d2b. --- 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 7482e63e..97f4e04f 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: