diff --git a/crawl4ai/deep_crawling/filters.py b/crawl4ai/deep_crawling/filters.py index c075cb7d..2865767f 100644 --- a/crawl4ai/deep_crawling/filters.py +++ b/crawl4ai/deep_crawling/filters.py @@ -85,7 +85,7 @@ class FilterChain: def add_filter(self, filter_: URLFilter) -> "FilterChain": """Add a filter to the chain""" - self.filters.append(filter_) + self.filters = self.filters + (filter_,) return self # Enable method chaining async def apply(self, url: str) -> bool: