Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Nick: reverting ssl changes to py sdk
Nicolas87baa23197a7
diff --git a/apps/python-sdk/firecrawl/__init__.py b/apps/python-sdk/firecrawl/__init__.pyindex 1306587d6..370628f36 100644--- a/apps/python-sdk/firecrawl/__init__.py+++ b/apps/python-sdk/firecrawl/__init__.py@@ -13,7 +13,7 @@ import osfrom .firecrawl import FirecrawlApp, AsyncFirecrawlApp, JsonConfig, ScrapeOptions, ChangeTrackingOptions # noqa-__version__ = "2.14.0"+__version__ = "2.15.0"# Define the logger for the Firecrawl projectlogger: logging.Logger = logging.getLogger("firecrawl")diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.pyindex 08043ae04..062ed3302 100644--- a/apps/python-sdk/firecrawl/firecrawl.py+++ b/apps/python-sdk/firecrawl/firecrawl.py@@ -23,8 +23,6 @@ import websocketsimport aiohttpimport asynciofrom pydantic import Field-import ssl-import certifi# Suppress Pydantic warnings about attribute shadowingwarnings.filterwarnings("ignore", message="Field name \"json\" in \"FirecrawlDocument\" shadows an attribute in parent \"BaseModel\"")@@ -2769,8 +2767,7 @@ class AsyncFirecrawlApp(FirecrawlApp):aiohttp.ClientError: If the request fails after all retries.Exception: If max retries are exceeded or other errors occur."""- ssl_context = ssl.create_default_context(cafile=certifi.where())- async with aiohttp.ClientSession(ssl=ssl_context) as session:+ async with aiohttp.ClientSession() as session:for attempt in range(retries):try:async with session.request(diff --git a/apps/python-sdk/requirements.txt b/apps/python-sdk/requirements.txtindex e2d8502de..360d9e764 100644--- a/apps/python-sdk/requirements.txt+++ b/apps/python-sdk/requirements.txt@@ -4,5 +4,4 @@ python-dotenvwebsocketsnest-asynciopydantic-aiohttp-certifi\ No newline at end of file+aiohttp\ No newline at end of filediff --git a/apps/python-sdk/setup.py b/apps/python-sdk/setup.pyindex 8bc9c505a..1fb31664e 100644--- a/apps/python-sdk/setup.py+++ b/apps/python-sdk/setup.py@@ -34,8 +34,7 @@ setup('asyncio','nest-asyncio','pydantic',- 'aiohttp',- 'certifi'+ 'aiohttp'],python_requires=">=3.8",classifiers=[