firecrawl 2.3.0__py3-none-any.whl → 2.4.1__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 +7 -11
- {firecrawl-2.3.0.dist-info → firecrawl-2.4.1.dist-info}/METADATA +1 -1
- {firecrawl-2.3.0.dist-info → firecrawl-2.4.1.dist-info}/RECORD +7 -7
- {firecrawl-2.3.0.dist-info → firecrawl-2.4.1.dist-info}/LICENSE +0 -0
- {firecrawl-2.3.0.dist-info → firecrawl-2.4.1.dist-info}/WHEEL +0 -0
- {firecrawl-2.3.0.dist-info → firecrawl-2.4.1.dist-info}/top_level.txt +0 -0
firecrawl/__init__.py
CHANGED
firecrawl/firecrawl.py
CHANGED
|
@@ -210,6 +210,7 @@ class ScrapeParams(ScrapeOptions):
|
|
|
210
210
|
jsonOptions: Optional[JsonConfig] = None
|
|
211
211
|
actions: Optional[List[Union[WaitAction, ScreenshotAction, ClickAction, WriteAction, PressAction, ScrollAction, ScrapeAction, ExecuteJavascriptAction]]] = None
|
|
212
212
|
agent: Optional[AgentOptions] = None
|
|
213
|
+
webhook: Optional[WebhookConfig] = None
|
|
213
214
|
|
|
214
215
|
class ScrapeResponse(FirecrawlDocument[T], Generic[T]):
|
|
215
216
|
"""Response from scraping operations."""
|
|
@@ -304,6 +305,9 @@ class ExtractParams(pydantic.BaseModel):
|
|
|
304
305
|
|
|
305
306
|
class ExtractResponse(pydantic.BaseModel, Generic[T]):
|
|
306
307
|
"""Response from extract operations."""
|
|
308
|
+
id: Optional[str] = None
|
|
309
|
+
status: Optional[Literal["processing", "completed", "failed"]] = None
|
|
310
|
+
expiresAt: Optional[datetime] = None
|
|
307
311
|
success: bool = True
|
|
308
312
|
data: Optional[T] = None
|
|
309
313
|
error: Optional[str] = None
|
|
@@ -412,14 +416,6 @@ class ExtractParams(pydantic.BaseModel):
|
|
|
412
416
|
show_sources: Optional[bool] = False
|
|
413
417
|
agent: Optional[Dict[str, Any]] = None
|
|
414
418
|
|
|
415
|
-
class ExtractResponse(pydantic.BaseModel, Generic[T]):
|
|
416
|
-
"""
|
|
417
|
-
Response from the extract operation.
|
|
418
|
-
"""
|
|
419
|
-
success: bool
|
|
420
|
-
data: Optional[T] = None
|
|
421
|
-
error: Optional[str] = None
|
|
422
|
-
|
|
423
419
|
class FirecrawlApp:
|
|
424
420
|
def __init__(self, api_key: Optional[str] = None, api_url: Optional[str] = None) -> None:
|
|
425
421
|
"""
|
|
@@ -2437,15 +2433,15 @@ class FirecrawlApp:
|
|
|
2437
2433
|
"batch_scrape_urls": {"formats", "headers", "include_tags", "exclude_tags", "only_main_content",
|
|
2438
2434
|
"wait_for", "timeout", "location", "mobile", "skip_tls_verification",
|
|
2439
2435
|
"remove_base64_images", "block_ads", "proxy", "extract", "json_options",
|
|
2440
|
-
"actions", "agent"},
|
|
2436
|
+
"actions", "agent", "webhook"},
|
|
2441
2437
|
"async_batch_scrape_urls": {"formats", "headers", "include_tags", "exclude_tags", "only_main_content",
|
|
2442
2438
|
"wait_for", "timeout", "location", "mobile", "skip_tls_verification",
|
|
2443
2439
|
"remove_base64_images", "block_ads", "proxy", "extract", "json_options",
|
|
2444
|
-
"actions", "agent"},
|
|
2440
|
+
"actions", "agent", "webhook"},
|
|
2445
2441
|
"batch_scrape_urls_and_watch": {"formats", "headers", "include_tags", "exclude_tags", "only_main_content",
|
|
2446
2442
|
"wait_for", "timeout", "location", "mobile", "skip_tls_verification",
|
|
2447
2443
|
"remove_base64_images", "block_ads", "proxy", "extract", "json_options",
|
|
2448
|
-
"actions", "agent"}
|
|
2444
|
+
"actions", "agent", "webhook"}
|
|
2449
2445
|
}
|
|
2450
2446
|
|
|
2451
2447
|
# Get allowed parameters for this method
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
firecrawl/__init__.py,sha256=
|
|
2
|
-
firecrawl/firecrawl.py,sha256=
|
|
1
|
+
firecrawl/__init__.py,sha256=71w39AanuXb4FCfw0lWgUHIi7S4GRGQSp6ewkWSrwMk,2570
|
|
2
|
+
firecrawl/firecrawl.py,sha256=Q1opxN1JxjbWLEDsSS3P5aEm4f9LEJrZyhd8UdsMVFw,182769
|
|
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.4.1.dist-info/LICENSE,sha256=nPCunEDwjRGHlmjvsiDUyIWbkqqyj3Ej84ntnh0g0zA,1084
|
|
9
|
+
firecrawl-2.4.1.dist-info/METADATA,sha256=wc5FQvWbKkSrBjdeHx1ZbCwXnv-mfF4mqstFvLm6i2c,10583
|
|
10
|
+
firecrawl-2.4.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
11
|
+
firecrawl-2.4.1.dist-info/top_level.txt,sha256=8T3jOaSN5mtLghO-R3MQ8KO290gIX8hmfxQmglBPdLE,16
|
|
12
|
+
firecrawl-2.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|