Skip to content

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

fix(deps): widen lxml ceiling to allow 6.x (fixes #2019)

ntohidi057b45b58520
diff --git a/pyproject.toml b/pyproject.toml
index ee237d5b..f93d1068 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,7 @@ dependencies = [
"aiohttp>=3.11.11",
"aiosqlite~=0.20",
"anyio>=4.0.0",
- "lxml~=5.3",
+ "lxml>=5.3,<7",
"unclecode-litellm==1.81.13",
"numpy>=1.26.0,<3",
"pillow>=10.4",
diff --git a/requirements.txt b/requirements.txt
index 9686ffc9..524a3d08 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,7 +4,7 @@ aiofiles>=24.1.0
aiohttp>=3.11.11
aiosqlite~=0.20
anyio>=4.0.0
-lxml~=5.3
+lxml>=5.3,<7
unclecode-litellm==1.81.13
numpy>=1.26.0,<3
pillow>=10.4