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: add LLMTableExtraction to Docker API deserialization allowlist

Gabc8c2dc319f6d
diff --git a/crawl4ai/__init__.py b/crawl4ai/__init__.py
index 03e734de..00e75f98 100644
--- a/crawl4ai/__init__.py
+++ b/crawl4ai/__init__.py
@@ -169,6 +169,7 @@ __all__ = [
"TableExtractionStrategy",
"DefaultTableExtraction",
"NoTableExtraction",
+ "LLMTableExtraction",
"RelevantContentFilter",
"PruningContentFilter",
"BM25ContentFilter",
diff --git a/crawl4ai/async_configs.py b/crawl4ai/async_configs.py
index 37b5480d..f7544866 100644
--- a/crawl4ai/async_configs.py
+++ b/crawl4ai/async_configs.py
@@ -150,7 +150,7 @@ ALLOWED_DESERIALIZE_TYPES = {
# Dispatchers
"MemoryAdaptiveDispatcher", "SemaphoreDispatcher",
# Table extraction
- "DefaultTableExtraction", "NoTableExtraction",
+ "DefaultTableExtraction", "NoTableExtraction", "LLMTableExtraction",
# Proxy
"RoundRobinProxyStrategy",
}
diff --git a/deploy/docker/tests/test_security_fixes.py b/deploy/docker/tests/test_security_fixes.py
index 3f006cee..1d31455a 100644
--- a/deploy/docker/tests/test_security_fixes.py
+++ b/deploy/docker/tests/test_security_fixes.py
@@ -251,7 +251,7 @@ class TestDeserializationAllowlist(unittest.TestCase):
"DomainAuthorityScorer", "FreshnessScorer", "PathDepthScorer",
"CacheMode", "MatchMode", "DisplayMode",
"MemoryAdaptiveDispatcher", "SemaphoreDispatcher",
- "DefaultTableExtraction", "NoTableExtraction",
+ "DefaultTableExtraction", "NoTableExtraction", "LLMTableExtraction",
"RoundRobinProxyStrategy",
}