code: private StructuralNode getStartNode(URI startURI, boolean recurse) throws ApiException {
  		StructuralNode startNode = null;
  		try {
  			if (recurse) {
  				startNode = SessionStructure.find(Model.getSingleton().getSession().getSessionId(), startURI, "", "");
  			}
  			if (startNode == null) {
  				startNode = SessionStructure.find(Model.getSingleton().getSession().getSessionId(), startURI, "GET", "");
  			}
  		} catch (Exception e) {
  			throw new ApiException(ApiException.Type.INTERNAL_ERROR, e);
  		}
  		return startNode;
  	}
docs: Gets a node for the given URI and recurse value, for use as start/seed of the spider.
  <p>
  If {@code recurse} is {@code true} it returns a node that represents a directory (if present in the session) otherwise
  the node represents a GET node of the URI. If neither of the nodes is found in the session it returns {@code null}.
  
  @param startURI the starting URI, must not be {@code null}.
  @param recurse {@code true} if the spider should use existing URLs as seeds, {@code false} otherwise.
  @return the start node, might be {@code null}.
  @throws ApiException if an error occurred while obtaining the start node.