mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
Removed hard coded timeout
This commit is contained in:
parent
96630154d3
commit
53a7ec0f6e
|
@ -74,7 +74,6 @@ class FirecrawlApp:
|
|||
f'{self.api_url}/v0/scrape',
|
||||
headers=headers,
|
||||
json=scrape_params,
|
||||
timeout=(5,10)
|
||||
)
|
||||
if response.status_code == 200:
|
||||
response = response.json()
|
||||
|
@ -112,8 +111,7 @@ class FirecrawlApp:
|
|||
response = requests.post(
|
||||
f'{self.api_url}/v0/search',
|
||||
headers=headers,
|
||||
json=json_data,
|
||||
timeout=(5,10)
|
||||
json=json_data
|
||||
)
|
||||
if response.status_code == 200:
|
||||
response = response.json()
|
||||
|
|
Loading…
Reference in New Issue
Block a user