mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-04-23 22:49:53 +08:00
return links
This commit is contained in:
parent
c45a132cd5
commit
2d597672be
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user