mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-15 02:05:54 +08:00
feat(python-sdk/CrawlWatcher): remove max payload size from WebSocket (FIR-2038) (#1577)
* feat(python-sdk/CrawlWatcher): remove max payload size from WebSocket * Update __init__.py --------- Co-authored-by: Nicolas <nicolascamara29@gmail.com>
This commit is contained in:
parent
6d75161302
commit
513f469b0f
@ -13,7 +13,7 @@ import os
|
|||||||
|
|
||||||
from .firecrawl import FirecrawlApp, AsyncFirecrawlApp, JsonConfig, ScrapeOptions, ChangeTrackingOptions # noqa
|
from .firecrawl import FirecrawlApp, AsyncFirecrawlApp, JsonConfig, ScrapeOptions, ChangeTrackingOptions # noqa
|
||||||
|
|
||||||
__version__ = "2.6.0"
|
__version__ = "2.7.0"
|
||||||
|
|
||||||
# Define the logger for the Firecrawl project
|
# Define the logger for the Firecrawl project
|
||||||
logger: logging.Logger = logging.getLogger("firecrawl")
|
logger: logging.Logger = logging.getLogger("firecrawl")
|
||||||
|
@ -2553,6 +2553,7 @@ class CrawlWatcher:
|
|||||||
"""
|
"""
|
||||||
async with websockets.connect(
|
async with websockets.connect(
|
||||||
self.ws_url,
|
self.ws_url,
|
||||||
|
max_size=None,
|
||||||
additional_headers=[("Authorization", f"Bearer {self.app.api_key}")]
|
additional_headers=[("Authorization", f"Bearer {self.app.api_key}")]
|
||||||
) as websocket:
|
) as websocket:
|
||||||
await self._listen(websocket)
|
await self._listen(websocket)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user