#NEWLINE# @ classmethod #NEWLINE# def from_crawler( cls , crawler , * args , **kwargs ) : #NEWLINE# #INDENT# spider = cls ( * args , ** spider ) #NEWLINE# spider . _set_crawler ( crawler ) #NEWLINE# return spider