firecrawl 1.10.0__tar.gz → 1.10.2__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: 1.10.0
3
+ Version: 1.10.2
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 # noqa
15
15
 
16
- __version__ = "1.10.0"
16
+ __version__ = "1.10.2"
17
17
 
18
18
  # Define the logger for the Firecrawl project
19
19
  logger: logging.Logger = logging.getLogger("firecrawl")
@@ -51,6 +51,11 @@ class FirecrawlApp:
51
51
  schema_: Optional[Any] = pydantic.Field(None, alias='schema')
52
52
  system_prompt: Optional[str] = None
53
53
  allow_external_links: Optional[bool] = False
54
+ enable_web_search: Optional[bool] = False
55
+ # Just for backwards compatibility
56
+ enableWebSearch: Optional[bool] = False
57
+
58
+
54
59
 
55
60
  class ExtractResponse(pydantic.BaseModel):
56
61
  """
@@ -624,7 +629,8 @@ class FirecrawlApp:
624
629
  jsonData = {'urls': urls, **params}
625
630
  request_data = {
626
631
  **jsonData,
627
- 'allowExternalLinks': params.get('allow_external_links', False),
632
+ 'allowExternalLinks': params.get('allow_external_links', params.get('allowExternalLinks', False)),
633
+ 'enableWebSearch': params.get('enable_web_search', params.get('enableWebSearch', False)),
628
634
  'schema': schema,
629
635
  'origin': 'api-sdk'
630
636
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: firecrawl
3
- Version: 1.10.0
3
+ Version: 1.10.2
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