python sdk crawl endpoint run non stop and run me out of credit
aI was testing firecrawl for the following use case: scrape the website of a startup for their product
I notice that with this website in particular, despite setting a limit of 2, the endpoint run non stop until I reach my credit limit
app = FirecrawlApp(api_key=[MY_API])
crawl_status = app.crawl_url(
'https://www.oceanfarmr.com/',
params={
'limit': 2,
'scrapeOptions': {'formats': ['markdown', 'html']}
},
)
3 Replies
hey! new SDK needs the limit and options to be set like so:
I was looking at the documentation.
it's not clear to me exactly what limit means (is it credits?)
Also is there a way of stating depth of the recursive crawling?
maxDiscoveryDepth
limit is max number of pages/URLs crawled