diff --git a/crawl4ai/extraction_strategy.py b/crawl4ai/extraction_strategy.py index 6be1c7c7b..4df7c83b4 100644 --- a/crawl4ai/extraction_strategy.py +++ b/crawl4ai/extraction_strategy.py @@ -1216,6 +1216,9 @@ def _apply_transform(self, value, transform): str: The transformed value. """ + if value is None: + return value + if transform == "lowercase": return value.lower() elif transform == "uppercase":