0

Removed hard coded timeout

This commit is contained in:
Rafael Miller 2024-05-24 13:46:16 -03:00 committed by GitHub
parent 96630154d3
commit 53a7ec0f6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()