#NEWLINE# def item_dropped( self , item , spider , exception ) : #NEWLINE# #INDENT# reason = exception . __class__ . __name__ #NEWLINE# self . stats . inc_value ( 'item_dropped_count' , spider = self ) #NEWLINE# self . stats . inc_value ( ( 'item_dropped_reasons_count/%s' % reason ) , spider = spider )