firecrawl 2.2.0__py3-none-any.whl → 2.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of firecrawl might be problematic. Click here for more details.
- firecrawl/__init__.py +1 -1
- firecrawl/firecrawl.py +3 -3
- {firecrawl-2.2.0.dist-info → firecrawl-2.3.0.dist-info}/METADATA +1 -1
- {firecrawl-2.2.0.dist-info → firecrawl-2.3.0.dist-info}/RECORD +7 -7
- {firecrawl-2.2.0.dist-info → firecrawl-2.3.0.dist-info}/LICENSE +0 -0
- {firecrawl-2.2.0.dist-info → firecrawl-2.3.0.dist-info}/WHEEL +0 -0
- {firecrawl-2.2.0.dist-info → firecrawl-2.3.0.dist-info}/top_level.txt +0 -0
firecrawl/__init__.py
CHANGED
firecrawl/firecrawl.py
CHANGED
|
@@ -3022,7 +3022,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
|
|
|
3022
3022
|
id = response.get('id')
|
|
3023
3023
|
except:
|
|
3024
3024
|
raise Exception(f'Failed to parse Firecrawl response as JSON.')
|
|
3025
|
-
return self.
|
|
3025
|
+
return await self._async_monitor_job_status(id, headers, poll_interval)
|
|
3026
3026
|
else:
|
|
3027
3027
|
self._handle_error(response, 'start batch scrape job')
|
|
3028
3028
|
|
|
@@ -3259,7 +3259,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
|
|
|
3259
3259
|
id = response.get('id')
|
|
3260
3260
|
except:
|
|
3261
3261
|
raise Exception(f'Failed to parse Firecrawl response as JSON.')
|
|
3262
|
-
return self.
|
|
3262
|
+
return await self._async_monitor_job_status(id, headers, poll_interval)
|
|
3263
3263
|
else:
|
|
3264
3264
|
self._handle_error(response, 'start crawl job')
|
|
3265
3265
|
|
|
@@ -3472,7 +3472,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
|
|
|
3472
3472
|
data.extend(next_data.get('data', []))
|
|
3473
3473
|
status_data = next_data
|
|
3474
3474
|
status_data['data'] = data
|
|
3475
|
-
return status_data
|
|
3475
|
+
return CrawlStatusResponse(**status_data)
|
|
3476
3476
|
else:
|
|
3477
3477
|
raise Exception('Job completed but no data was returned')
|
|
3478
3478
|
elif status_data.get('status') in ['active', 'paused', 'pending', 'queued', 'waiting', 'scraping']:
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
firecrawl/__init__.py,sha256=
|
|
2
|
-
firecrawl/firecrawl.py,sha256=
|
|
1
|
+
firecrawl/__init__.py,sha256=t_Vo2P4crdtw85NYeVcgcaQE9VEFxQsKwXQlo2_bjmo,2570
|
|
2
|
+
firecrawl/firecrawl.py,sha256=w7jWQP9i40Je24TvFm7OosYTtml7DffHOHMxr4iaPSM,182740
|
|
3
3
|
firecrawl/__tests__/e2e_withAuth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
firecrawl/__tests__/e2e_withAuth/test.py,sha256=-Fq2vPcMo0iQi4dwsUkkCd931ybDaTxMBnZbRfGdDcA,7931
|
|
5
5
|
firecrawl/__tests__/v1/e2e_withAuth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
firecrawl/__tests__/v1/e2e_withAuth/test.py,sha256=DcCw-cohtnL-t9XPekUtRoQrgg3UCWu8Ikqudf9ory8,19880
|
|
7
7
|
tests/test_change_tracking.py,sha256=_IJ5ShLcoj2fHDBaw-nE4I4lHdmDB617ocK_XMHhXps,4177
|
|
8
|
-
firecrawl-2.
|
|
9
|
-
firecrawl-2.
|
|
10
|
-
firecrawl-2.
|
|
11
|
-
firecrawl-2.
|
|
12
|
-
firecrawl-2.
|
|
8
|
+
firecrawl-2.3.0.dist-info/LICENSE,sha256=nPCunEDwjRGHlmjvsiDUyIWbkqqyj3Ej84ntnh0g0zA,1084
|
|
9
|
+
firecrawl-2.3.0.dist-info/METADATA,sha256=kOaXaHbVr8qGNxGK0-h2MNZ20_VxqFuX-RZ5zUXcu6M,10583
|
|
10
|
+
firecrawl-2.3.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
11
|
+
firecrawl-2.3.0.dist-info/top_level.txt,sha256=8T3jOaSN5mtLghO-R3MQ8KO290gIX8hmfxQmglBPdLE,16
|
|
12
|
+
firecrawl-2.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|