firecrawl 2.5.2__tar.gz → 2.5.3__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.
- {firecrawl-2.5.2 → firecrawl-2.5.3}/PKG-INFO +1 -1
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl/__init__.py +1 -1
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl/firecrawl.py +3 -3
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl.egg-info/PKG-INFO +1 -1
- {firecrawl-2.5.2 → firecrawl-2.5.3}/LICENSE +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/README.md +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl/__tests__/e2e_withAuth/__init__.py +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl/__tests__/e2e_withAuth/test.py +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl/__tests__/v1/e2e_withAuth/__init__.py +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl/__tests__/v1/e2e_withAuth/test.py +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl.egg-info/SOURCES.txt +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl.egg-info/dependency_links.txt +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl.egg-info/requires.txt +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/firecrawl.egg-info/top_level.txt +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/pyproject.toml +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/setup.cfg +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/setup.py +0 -0
- {firecrawl-2.5.2 → firecrawl-2.5.3}/tests/test_change_tracking.py +0 -0
|
@@ -13,7 +13,7 @@ import os
|
|
|
13
13
|
|
|
14
14
|
from .firecrawl import FirecrawlApp, AsyncFirecrawlApp, JsonConfig, ScrapeOptions, ChangeTrackingOptions # noqa
|
|
15
15
|
|
|
16
|
-
__version__ = "2.5.
|
|
16
|
+
__version__ = "2.5.3"
|
|
17
17
|
|
|
18
18
|
# Define the logger for the Firecrawl project
|
|
19
19
|
logger: logging.Logger = logging.getLogger("firecrawl")
|
|
@@ -540,9 +540,9 @@ class FirecrawlApp:
|
|
|
540
540
|
json_options["schema"] = self._ensure_schema_dict(json_options["schema"])
|
|
541
541
|
scrape_params['jsonOptions'] = json_options if isinstance(json_options, dict) else json_options.dict(exclude_none=True)
|
|
542
542
|
if actions:
|
|
543
|
-
scrape_params['actions'] = [action.dict(exclude_none=True) for action in actions]
|
|
543
|
+
scrape_params['actions'] = [action if isinstance(action, dict) else action.dict(exclude_none=True) for action in actions]
|
|
544
544
|
if change_tracking_options:
|
|
545
|
-
scrape_params['changeTrackingOptions'] = change_tracking_options.dict(exclude_none=True)
|
|
545
|
+
scrape_params['changeTrackingOptions'] = change_tracking_options if isinstance(change_tracking_options, dict) else change_tracking_options.dict(exclude_none=True)
|
|
546
546
|
|
|
547
547
|
scrape_params.update(kwargs)
|
|
548
548
|
|
|
@@ -2924,7 +2924,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
|
|
|
2924
2924
|
json_options["schema"] = self._ensure_schema_dict(json_options["schema"])
|
|
2925
2925
|
scrape_params['jsonOptions'] = json_options if isinstance(json_options, dict) else json_options.dict(exclude_none=True)
|
|
2926
2926
|
if actions:
|
|
2927
|
-
scrape_params['actions'] = [action.dict(exclude_none=True) for action in actions]
|
|
2927
|
+
scrape_params['actions'] = [action if isinstance(action, dict) else action.dict(exclude_none=True) for action in actions]
|
|
2928
2928
|
|
|
2929
2929
|
if 'extract' in scrape_params and scrape_params['extract'] and 'schema' in scrape_params['extract']:
|
|
2930
2930
|
scrape_params['extract']['schema'] = self._ensure_schema_dict(scrape_params['extract']['schema'])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|