public static void htmlSave(InputStream inputStream) {
		boolean save = true;
		if (save) {
			String title = inputStream.toString();
			System.out.println(title);
			File file = new File(title + ".html");
			if (!file.exists()) {
				try {
					file.createNewFile();
					debug("create file " + file.getAbsolutePath());
				} catch (IOException e) {
					// TODO Auto-generated catch block
					error("create new file to save page ERROR" + ":" + title);
					e.printStackTrace();
				}
			}
			OutputStream os = null;
			try {
				if (!file.isFile()) {
					return;
				}
				os = new FileOutputStream(file);
				byte buffer[] = new byte[4 * 1024];
				while ((inputStream.read(buffer)) != -1) {
					os.write(buffer);
				}
				os.flush();
			} catch (Exception e) {
				error("write file ERROR");
				e.printStackTrace();
			} finally {
				try {
					os.close();
					debug("write success");
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		}
	}