本帖最后由 陈家辉 于 2013-8-18 00:00 编辑
HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "http://ci.aizhan.com/seo/",
Encoding = Encoding.UTF8,
Method = "get",//URL 可选项 默认为Get
ContentType = "application/x-www-form-urlencoded",
};
//得到HTML代码
HttpResult result = http.GetHtml(item);
result = http.GetHtml(item);
richTextBox1.Text = result.Html;
这样去抓的话抓不到任何数据,网页直接访问可以访问到数据!各位大哥大姐,新人求帮助!
|