public UserPage getUser(String userName) {
		try {
			Document doc = fetchDom("http://bbs.byr.cn/user/query/%s", userName);

			UserPage userPage = new UserPage();

			userPage.setUserName(userName);
			userPage.setNickName(weizhiable(USER_PAGE__NICK_NAME
					.stringValueOf(doc)));
			userPage.setGender(weizhiable(USER_PAGE__GENDER.stringValueOf(doc)));
			userPage.setZodiac(weizhiable(USER_PAGE__ZODIAC.stringValueOf(doc)));
			userPage.setQq(weizhiable(USER_PAGE__QQ.stringValueOf(doc)));
			userPage.setMsn(weizhiable(USER_PAGE__MSN.stringValueOf(doc)));
			userPage.setHomePage(weizhiable(USER_PAGE__HOME_PAGE
					.stringValueOf(doc)));

			@SuppressWarnings("unchecked")
			List<Object> details = USER_PAGE__DETAIL_INFO.selectNodes(doc);
			for (int i = 0; i < details.size()-1; i += 2) {
				String fieldName = ((Text)details.get(i)).getData();
				String fieldValue = ((Text)details.get(i+1)).getData();
				
				if(fieldName.equals("论坛等级：")) {
					userPage.setLevel(fieldValue);
				} else if (fieldName.equals("帖子总数：")) {
					userPage.setTotalPosts(grepInt(fieldValue));
				} else if (fieldName.equals("积分：")) {
					userPage.setScore(Integer.parseInt(fieldValue));
				} else if (fieldName.equals("生命力：")) {
					userPage.setLife(Integer.parseInt(fieldValue));
				} else if (fieldName.equals("上次登录：")) {
					userPage.setLastLogin(parseIsoDataFormat(fieldValue));
				} else if (fieldName.equals("最后访问IP：")) {
					userPage.setLastIpAddress(fieldValue);
				} else if (fieldName.equals("当前状态：")) {
					userPage.setOnlineNow(parseOnline(fieldValue));
				}		
			}

			return userPage;
		} catch (Exception e) {
			throw new ByrException("Error getting user:" + userName, e);
		}
	}