public boolean getWebURL(){
		if(urls.isEmpty())
			return false;
		
		String start ;
		while(true){
//			System.out.println("b");
			start = getURL();
			if(start == ""){
//				System.out.println("a");
				return false;
			};
			if(start != "" && !visited.contains(start)){
//				System.out.println("b");
				break;
			}
		}
		visited.add(start);
		int stdeep = hm.get(start);	
		try {
			
//			System.out.println("a");
			
			URL url = new URL(start);
			URLConnection con = url.openConnection();
			con.setDoOutput(true);
			InputStream in = null;
			in = url.openStream();
			BufferedReader bReader = new BufferedReader(new InputStreamReader(in));
			String line;
			int strlen;
			while ( (line = bReader.readLine()) != null){
//				System.out.println(line);
				strlen = line.length();
				if(strlen > 0){
//					String tempurl = "";
//					tempurl = this.WebToURL(line);
//					if(tempurl != "")
					saveURL(line,stdeep);
				}
			}
			in.close();
//			bReader.close();
		} catch (MalformedURLException e) {
			System.out.println("Get URL Failed.");
		} catch (IOException e) {
			System.out.println("Get Connection Failed.");
		}
		
		return true;
	}