sinalogin
sinalogin copied to clipboard
Set Cookie Failed
save_cookie have problem?
show me err stack。
perhaps your account name and passwd error
when i call j = Request.jar(), then return j is
there hava no cookies. I also run the test.js in project. the problem is same.
2014-09-10
yuxinfeng0806
发件人:hexie [email protected] 发送时间:2014-09-10 23:18 主题:Re: [sinalogin] Set Cookie Failed (#2) 收件人:"youyudehexie/sinalogin"[email protected] 抄送:"yuxinfeng0806"[email protected]
perhaps your account name and passwd error — Reply to this email directly or view it on GitHub.
it still work to me. try it agian.
var Sinalogin = require('../lib'); var request = require('request');
var account = { name: '[email protected]', passwd: 'xxx', cookiefile: '[email protected]' }
Sinalogin.weibo_login(account, function(err, loginInfo){ if(loginInfo.logined){ var j = loginInfo.j; request({url: 'http://weibo.com/youyudehexie?wvr=5&wvr=5&lf=reg', jar: j}, function (err, response, body) { console.log(body) }); } })
this is err stack ? please help me? thank you!
2014-09-11
yuxinfeng0806
发件人:hexie [email protected] 发送时间:2014-09-10 23:33 主题:Re: [sinalogin] Set Cookie Failed (#2) 收件人:"youyudehexie/sinalogin"[email protected] 抄送:"yuxinfeng0806"[email protected]
it still work to me. try it agian. var Sinalogin = require('../lib'); var request = require('request'); var account = { name: '[email protected]', passwd: 'xxx', cookiefile: '[email protected]' } Sinalogin.weibo_login(account, function(err, loginInfo){ if(loginInfo.logined){ var j = loginInfo.j; request({url: 'http://weibo.com/youyudehexie?wvr=5&wvr=5&lf=reg', jar: j}, function (err, response, body) { console.log(body) }); }
}) — Reply to this email directly or view it on GitHub.