firecrawl
firecrawl copied to clipboard
[py-sdk] Error when throwing an error :)
Scraping https://azure.microsoft.com/en-us/solutions/hugging-face-on-azure/ I get:
url = "https://azure.microsoft.com/en-us/solutions/hugging-face-on-azure/"
scrape_result = app.scrape_url(url, params={"formats": ["markdown"]})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/firecrawl/firecrawl.py", line 86, in scrape_url
raise Exception(f'Failed to scrape URL. Error: {response["error"]}')
~~~~~~~~^^^^^^^^^
KeyError: 'error'