Revert "return links"
Some checks are pending
Fly Deploy / Pre-deploy checks (push) Waiting to run
Fly Deploy / Deploy app (push) Blocked by required conditions

This reverts commit 2d597672be.
This commit is contained in:
Gergő Móricz 2024-09-19 20:07:06 +02:00
parent 2d597672be
commit 506d5c2716

View File

@ -238,7 +238,7 @@ class FirecrawlApp:
if response.status_code == 200: if response.status_code == 200:
response = response.json() response = response.json()
if response['success'] and 'links' in response: if response['success'] and 'links' in response:
return response['links'] return response
else: else:
raise Exception(f'Failed to map URL. Error: {response["error"]}') raise Exception(f'Failed to map URL. Error: {response["error"]}')
else: else: