mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-04-18 12:09:42 +08:00
small edits
This commit is contained in:
parent
db740a0c96
commit
cdc747ab7b
@ -142,7 +142,7 @@ def extract_company_info(urls, prompt, company, api_key):
|
||||
print(f"{Colors.RED}Failed to extract data: {e}{Colors.RESET}")
|
||||
return None
|
||||
|
||||
def poll_firecrawl_result(extraction_id, api_key, interval=5, max_attempts=12):
|
||||
def poll_firecrawl_result(extraction_id, api_key, interval=5, max_attempts=36):
|
||||
"""Poll Firecrawl API to get the extraction result."""
|
||||
url = f"https://api.firecrawl.dev/v1/extract/{extraction_id}"
|
||||
headers = {
|
Loading…
x
Reference in New Issue
Block a user