protected synchronized WebPage processHtml(final String url, final int depth) //
	throws ParserException, Exception {
		this.cobweb.addSearchedSites(url);
		//
		Parser parser = new Parser();
		parser.setURL(url);
		URLConnection uc = parser.getConnection();
		uc.connect();
		//
		WebPage wp = new WebPage();
		wp.setDepth(depth);
		wp.setUrl(url);
		wp.setCharSet(parser.getEncoding());
		NodeIterator nit = parser.elements();
		while (nit.hasMoreNodes()) {
			parserNode((Node)nit.nextNode(), wp);
		}

		parser = null;
		uc = null;
		nit = null;
		
		return wp;
	}