#NEWLINE# def __init__( self , name = None , **kwargs ) : #NEWLINE# #INDENT# if ( name is not None ) : #NEWLINE# #INDENT# self . name = name #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( not getattr ( self , 'name' , None ) ) : #NEWLINE# #INDENT# raise ValueError ( ( '%s must have a name' % type ( self ) . __name__ ) ) #NEWLINE# #UNINDENT# #UNINDENT# self . __dict__ . update ( kwargs ) #NEWLINE# if ( not hasattr ( self , 'start_urls' ) ) : #NEWLINE# #INDENT# self . start_urls = [ ]