|
本帖最后由 落伍者 于 2011-7-7 17:07 编辑
import inet.whttp;
var whttp=inet.whttp();
// 登录
whttp.post("http://www.renren.com/PLogin.do","email=qq191166999&password=000000&origURL=http://www.renren.com/home&domain=renren.com");
//此处 不带 cookie 请求 竟然依然 可以返回 登录成功
// 为什么呢
html=whttp.get("http://www.renren.com/profile.do?portal=homeFootprint");
string.save("\人人.html",html);
//-------------------------------------
import inet.whttp;
var whttp=inet.whttp();
// 登录
html=whttp.post("http://login.sina.com.cn/sso/login.php","username=qq19116699@163.com&password=000000&entry=miniblog&act=1&from=referer%3Awww_index")
//此处 不带 cookie 请求 返回 失败
//为什么呢
html=whttp.get("http://weibo.com");
string.save("\weibo.html",html);
|
|