def cmd_stop(args, opts):
 jsonrpc_call(opts, 'crawler/engine', 'close_spider', args[0])

def cmd_stop ( args , opts ) : jsonrpc_call ( opts , 'crawler/engine' , 'close_spider' , args [ 0 ] )
stop <spider> - stop a running spider .