-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
🐞 BugSomething isn't workingSomething isn't working🩺 Needs TriageNeeds attention of maintainersNeeds attention of maintainers
Description
crawl4ai version
0.8.0
Expected Behavior
You should be able to use add_filter to add a filter.
Current Behavior
class FilterChain:
...
def __init__(self, filters: List[URLFilter] = None):
self.filters = tuple(filters or []) # Immutable tuple for speed
...
def add_filter(self, filter_: URLFilter) -> "FilterChain":
"""Add a filter to the chain"""
self.filters.append(filter_)
return self
E AttributeError: 'tuple' object has no attribute 'append'
Is this reproducible?
Yes
Steps to Reproduce
FilterChain([...]).add_filter([...])Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐞 BugSomething isn't workingSomething isn't working🩺 Needs TriageNeeds attention of maintainersNeeds attention of maintainers