mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-15 19:22:19 +08:00
parent
2d597672be
commit
506d5c2716
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user