Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptStore NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return If UnaryOpNot NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return If UnaryOpNot NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body Break Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr TryExcept body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad Call NameLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return Call NameLoad ListComp Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return Call NameLoad ListComp Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr comprehension NameStore NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Str NameLoad
N/A N/A Item Loader

See documentation in docs/topics/loaders.rst

 collections defaultdict ants.item Item ants.selector Selector ants.utils.decorator deprecated ants.utils.deprecate create_deprecated_class ants.utils.misc arg_to_iter extract_regex ants.utils.python flatten common wrap_loader_context processor Identity ItemLoader N/A object N/A N/A default_item_class Item N/A default_input_processor N/A Identity N/A default_output_processor N/A Identity N/A default_selector_class Selector __init__ N/A N/A self item selector response N/A None None None context N/A N/A N/A N/A selector None N/A response None N/A N/A selector N/A N/A self default_selector_class response N/A N/A self selector selector N/A N/A N/A context update selector selector response response N/A N/A item None N/A N/A item N/A N/A self default_item_class N/A N/A self item N/A context N/A item item N/A N/A self context context N/A N/A self _values N/A defaultdict list N/A add_value N/A N/A self field_name value N/A processors kw N/A N/A value N/A N/A self get_value value processors kw N/A N/A value None N/A N/A N/A N/A field_name N/A N/A N/A k v N/A N/A value iteritems N/A N/A N/A N/A self _add_value k v N/A N/A N/A N/A self _add_value field_name value N/A replace_value N/A N/A self field_name value N/A processors kw N/A N/A value N/A N/A self get_value value processors kw N/A N/A value None N/A N/A N/A N/A field_name N/A N/A N/A k v N/A N/A value iteritems N/A N/A N/A N/A self _replace_value k v N/A N/A N/A N/A self _replace_value field_name value N/A _add_value N/A N/A self field_name value N/A N/A N/A value N/A arg_to_iter value N/A processed_value N/A N/A self _process_input_value field_name value N/A processed_value N/A N/A N/A N/A self _values N/A field_name N/A arg_to_iter processed_value N/A _replace_value N/A N/A self field_name value N/A N/A N/A N/A N/A N/A self _values pop field_name None N/A N/A N/A self _add_value field_name value N/A get_value N/A N/A self value N/A processors kw N/A N/A regex N/A N/A kw get re None N/A regex N/A N/A value N/A arg_to_iter value N/A value N/A flatten N/A N/A extract_regex regex x N/A x value N/A proc processors N/A N/A N/A value None N/A N/A N/A proc N/A wrap_loader_context proc N/A self context N/A value N/A proc value N/A value N/A load_item N/A N/A self N/A N/A N/A item N/A self item N/A field_name N/A self _values N/A N/A value N/A N/A self get_output_value field_name N/A N/A value None N/A N/A N/A item N/A field_name value N/A item N/A get_output_value N/A N/A self field_name N/A N/A N/A proc N/A N/A self get_output_processor field_name N/A proc N/A wrap_loader_context proc N/A self context N/A N/A N/A N/A proc N/A N/A self _values N/A field_name N/A N/A N/A Exception N/A e N/A N/A N/A ValueError N/A Error with output processor: field=%r value=%r error='%s: %s' N/A field_name N/A N/A self _values N/A field_name N/A N/A type e __name__ N/A str e N/A get_collected_values N/A N/A self field_name N/A N/A N/A N/A N/A self _values N/A field_name N/A get_input_processor N/A N/A self field_name N/A N/A N/A proc N/A getattr self N/A %s_in field_name None N/A N/A proc N/A N/A proc N/A N/A self _get_item_field_attr field_name input_processor N/A self default_input_processor N/A proc N/A get_output_processor N/A N/A self field_name N/A N/A N/A proc N/A getattr self N/A %s_out field_name None N/A N/A proc N/A N/A proc N/A N/A self _get_item_field_attr field_name output_processor N/A self default_output_processor N/A proc N/A _process_input_value N/A N/A self field_name value N/A N/A N/A proc N/A N/A self get_input_processor field_name N/A proc N/A wrap_loader_context proc N/A self context N/A N/A proc value N/A _get_item_field_attr N/A N/A self field_name key default N/A None N/A N/A N/A isinstance N/A self item Item N/A N/A value N/A N/A N/A N/A N/A self item fields N/A field_name get key default N/A N/A value default N/A value N/A _check_selector_method N/A N/A self N/A N/A N/A N/A N/A self selector None N/A N/A N/A RuntimeError N/A To use XPath or CSS selectors, %s must be instantiated with a selector or a response N/A N/A self __class__ __name__ N/A add_xpath N/A N/A self field_name xpath N/A processors kw N/A N/A values N/A N/A self _get_xpathvalues xpath kw N/A N/A N/A self add_value field_name values processors kw N/A replace_xpath N/A N/A self field_name xpath N/A processors kw N/A N/A values N/A N/A self _get_xpathvalues xpath kw N/A N/A N/A self replace_value field_name values processors kw N/A get_xpath N/A N/A self xpath N/A processors kw N/A N/A values N/A N/A self _get_xpathvalues xpath kw N/A N/A N/A self get_value values processors kw N/A _get_values N/A N/A self xpaths N/A kw N/A N/A N/A N/A self _get_xpathvalues xpaths kw N/A N/A deprecated use_instead ._get_xpathvalues() _get_xpathvalues N/A N/A self xpaths N/A kw N/A N/A N/A N/A self _check_selector_method N/A xpaths N/A arg_to_iter xpaths N/A N/A flatten N/A N/A N/A N/A N/A N/A self selector xpath xpath extract N/A xpath xpaths N/A add_css N/A N/A self field_name css N/A processors kw N/A N/A values N/A N/A self _get_cssvalues css kw N/A N/A N/A self add_value field_name values processors kw N/A replace_css N/A N/A self field_name css N/A processors kw N/A N/A values N/A N/A self _get_cssvalues css kw N/A N/A N/A self replace_value field_name values processors kw N/A get_css N/A N/A self css N/A processors kw N/A N/A values N/A N/A self _get_cssvalues css kw N/A N/A N/A self get_value values processors kw N/A _get_cssvalues N/A N/A self csss N/A kw N/A N/A N/A N/A self _check_selector_method N/A csss N/A arg_to_iter csss N/A N/A flatten N/A N/A N/A N/A N/A N/A self selector css css extract N/A css csss N/A N/A N/A XPathItemLoader N/A create_deprecated_class XPathItemLoader ItemLoader