docs: private GenericScanner2 getSpiderScan(JSONObject params) throws ApiException {
  		GenericScanner2 spiderScan;
  		int id = getParam(params, PARAM_SCAN_ID, -1);
  		if (id == -1) {
  			spiderScan = extension.getLastScan();
  		} else {
  			spiderScan = extension.getScan(id);
  		}
  
  		if (spiderScan == null) {
  			throw new ApiException(ApiException.Type.DOES_NOT_EXIST, PARAM_SCAN_ID);
  		}
  
  		return spiderScan;
  	}