[C#] 纯文本查看 复制代码 HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
//http://www.globalsources.com/trdshw/T/2808800008230/an-shen.co?path=TSC_EXHLIST&source=TSCON9_ExhibitorList
URL = "https://sunlogin.oray.com/passport/login?lang=zh_CN",
Referer = "https://sunlogin.oray.com/passport/login?lang=zh_CN",
Method = "POST",
Allowautoredirect = false,
Expect100Continue = false,
Postdata = "url=%2Fconsole%2Fremote%2F&account=renrenle2013&password=renrenle"
};
HttpResult result = http.GetHtml(item);
item = new HttpItem()
{
URL = result.Html,
Method = "GET",
Referer = "https://sunlogin.oray.com/passport/login?lang=zh_CN",
Cookie = result.Cookie,
};
result = http.GetHtml(item);
我使用的是1.45版本苏飞(修改日期:2014-04-21),获取出错Invalid URI: The URI scheme is not valid.
|