mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-03 02:20:36 +08:00
Revert "return links"
This reverts commit 2d597672bec308d25e75520cf55f4cc3a12a3d2b.
This commit is contained in:
parent
2d597672be
commit
506d5c2716
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user