firecrawl 2.3.0__tar.gz → 2.4.0__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: firecrawl
3
- Version: 2.3.0
3
+ Version: 2.4.0
4
4
  Summary: Python SDK for Firecrawl API
5
5
  Home-page: https://github.com/mendableai/firecrawl
6
6
  Author: Mendable.ai
@@ -13,7 +13,7 @@ import os
13
13
 
14
14
  from .firecrawl import FirecrawlApp, JsonConfig, ScrapeOptions # noqa
15
15
 
16
- __version__ = "2.3.0"
16
+ __version__ = "2.4.0"
17
17
 
18
18
  # Define the logger for the Firecrawl project
19
19
  logger: logging.Logger = logging.getLogger("firecrawl")
@@ -304,6 +304,9 @@ class ExtractParams(pydantic.BaseModel):
304
304
 
305
305
  class ExtractResponse(pydantic.BaseModel, Generic[T]):
306
306
  """Response from extract operations."""
307
+ id: Optional[str] = None
308
+ status: Optional[Literal["processing", "completed", "failed"]] = None
309
+ expiresAt: Optional[datetime] = None
307
310
  success: bool = True
308
311
  data: Optional[T] = None
309
312
  error: Optional[str] = None
@@ -412,14 +415,6 @@ class ExtractParams(pydantic.BaseModel):
412
415
  show_sources: Optional[bool] = False
413
416
  agent: Optional[Dict[str, Any]] = None
414
417
 
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
418
  class FirecrawlApp:
424
419
  def __init__(self, api_key: Optional[str] = None, api_url: Optional[str] = None) -> None:
425
420
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: firecrawl
3
- Version: 2.3.0
3
+ Version: 2.4.0
4
4
  Summary: Python SDK for Firecrawl API
5
5
  Home-page: https://github.com/mendableai/firecrawl
6
6
  Author: Mendable.ai
File without changes
File without changes
File without changes
File without changes
File without changes