public static String sendGet(String url,HashMap<String, String> propertyMap){ 
	    	InputStreamReader inr = null;
	        try{   
	            System.out.println("get>>>"+url);  
	               
	            URL serverUrl = new URL(url);  
	            HttpURLConnection conn = (HttpURLConnection) serverUrl.openConnection();   
	            conn.setRequestMethod("GET");//"POST" ,"GET"  
	            conn.setDoOutput(true);   
	            if(propertyMap != null){  
	            	Set<String> keys = propertyMap.keySet();
			    	Iterator<String> iterator = keys.iterator();
			    	while (iterator.hasNext()) {
			    		String key = iterator.next();
			            conn.addRequestProperty(key, propertyMap.get(key));  
			    	}
	            }
	            conn.addRequestProperty("Cookie", getCookie());  
	            conn.addRequestProperty("Accept-Charset", "UTF-8;");//GB2312,  
	            conn.addRequestProperty("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36");
	            HttpURLConnection.setFollowRedirects(false);
	            conn.connect();  
	             
	            if(conn.getHeaderFields().get("Set-Cookie") != null){  
	                for(String s:conn.getHeaderFields().get("Set-Cookie")){  
	                    addCookie(new BotCookie(s));
	                }  
	            }  
	            InputStream ins =  conn.getInputStream();  
	            inr = new InputStreamReader(ins, "UTF-8");  
	            BufferedReader bfr = new BufferedReader(inr);  
	            String line = "";  
	            StringBuffer res = new StringBuffer();   
	            do{  
	                res.append(line);  
	                line = bfr.readLine();  
	               //System.out.println(line);  
	            }while(line != null);  
	       //   System.out.println(">>>==="+res);  
	            return res.toString();  
	        }catch(Exception e){  
	            e.printStackTrace();  
	            return null;  
	        }  finally{
	        	if(inr!=null){
	        		try {
	        			inr.close();
					} catch (IOException e) {
						e.printStackTrace();
					}finally{
						inr =null;
					}
	        		
	        	}
	 
	        }
	    }