public void getObjectsFromCategory(JSONObject project, JSONObject category, String parentName) {
		JSONObject notebooksMainObject = (JSONObject) getAllNotebooksFromProject(project
				.getString("id"));
		JSONObject innerProject = (JSONObject) notebooksMainObject.get("project");
		JSONArray notebooksArray = (JSONArray) innerProject.get("notebooks");

		if (notebooksArray == null)
			return;
		Iterator i = notebooksArray.iterator();
		while (i.hasNext()) {
			JSONObject singleNotebook = (JSONObject) i.next();

			if (category == null) {
				JSONObject customCategory = new JSONObject();
				customCategory.put("id", "");
				customCategory.put("name", "");
				category = customCategory;
			}
			if (singleNotebook.get("category-id").equals(category.get("id"))) {
				JSONObject finalNotebook = getFinalNotebookObject(singleNotebook.getString("id"));
				JSONObject finalNotebookContent = (JSONObject) finalNotebook.get("notebook");

				String notebookName = finalNotebookContent.getString("name");
				String notebookContent = finalNotebookContent.getString("content");

				boolean doContinue = false;
				for (String s : ignoreNotebooks) {
					if (notebookName.equals(s)) {
						doContinue = true;
					}
				}
				if (doContinue) {
					continue;
				}

				if (cm.isPageInDownloadedList(notebookName)) {
					System.out.println("Notebook with name: \"" + notebookName
							+ "\" already exists in confluence. Im skipping it.");
					continue;
				}
				uploadNotebookToConfluence(project.getString("name"), category.getString("name"),
						parentName, notebookName, notebookContent);
			}
		}
	}