#NEWLINE# def __init__( self , crawler ) : #NEWLINE# #INDENT# self . slot = None #NEWLINE# self . spidermw = SpiderMiddlewareManager . from_crawler ( crawler ) #NEWLINE# itemproc_cls = load_object ( crawler . settings [ 'ITEM_PROCESSOR' ] ) #NEWLINE# self . itemproc = itemproc_cls . from_crawler ( crawler ) #NEWLINE# self . concurrent_items = crawler . settings . getint ( 'CONCURRENT_ITEMS' ) #NEWLINE# self . crawler = crawler #NEWLINE# self . signals = crawler . signals #NEWLINE# self . logformatter = crawler . logformatter