class documentation

class ItemFilter: (source)

View In Hierarchy

This will be used by FeedExporter to decide if an item should be allowed to be exported to a particular feed. :param feed_options: feed specific options passed from FeedExporter :type feed_options: dict

Method __init__ Undocumented
Method accepts Return ``True`` if `item` should be exported or ``False`` otherwise.
Instance Variable feed_options Undocumented
Instance Variable item_classes Undocumented
def __init__(self, feed_options: Optional[dict]): (source)

Undocumented

def accepts(self, item: Any) -> bool: (source)

Return ``True`` if `item` should be exported or ``False`` otherwise. :param item: scraped item which user wants to check if is acceptable :type item: :ref:`Scrapy items <topics-items>` :return: `True` if accepted, `False` otherwise :rtype: bool

feed_options = (source)

Undocumented

item_classes = (source)

Undocumented