摘要:
1 public String GetHtml(String URL) 2 { 3 DefaultHttpClient httpClient = new DefaultHttpClient(); 4 HttpGet request=new HttpGet(URL); 5 request.addHeader("Accept", "application/javascript, */*;q=0.8"); 6 request.addHeader("User-Agent", "Mozilla/5.0 (compatible; MSI 阅读全文