注意:小偷程序,WebClient
System.Net.WebClient wc = new System.Net.WebClient();
Message.Text = wc.DownloadString("http://qh.12530.com/user/querytonebytype.do");
这样,执行正确,但是加上page参数
Message.Text = wc.DownloadString("http://qh.12530.com/user/querytonebytype.do?page=1");
被请求页就提示“MainServelet 捕获到未知类型异常,请点击返回按钮返回上一步。谢谢! ”
这是怎么回事?难道被请求网站采取了反小偷措施?可是,我必须得加上page呀,因为好多页,我得一页一页获取数据,这样一来,我就没法实现目的了!
请高手赐教!