本帖最后由 wine5555 于 2014-4-12 17:18 编辑
易迅登录成功后的返回信息如下:
[C#] 纯文本查看 复制代码 "ptuiCB('0','0','https://ssl.ptlogin2.yixun.com/check_sig?pttype=1&uin=281537422&service=login&nodirect=0&ptsig=irkKVvnTVtZyNkUBD9wKvSuUk58dLiMq4mQAf5kac1g_&s_url=https%3A%2F%2Fecclogin.yixun.com%2Flogin%2Fqqlogin%3Fe_appid%3D1%26isseller%3D0&f_url=&ptlang=2052&ptredirect=100&aid=700024506&daid=174&j_later=0&low_login_hour=0®master=0&pt_login_type=1&pt_aid=0&pt_aaid=0&pt_light=0https://ecclogin.yixun.com/login/qqlogin?e_appid=1&isseller=0','0','登录成功!', 'LL');
下一步我直接请求 返回数据中的地址:
[C#] 纯文本查看 复制代码 https://ssl.ptlogin2.yixun.com/check_sig?pttype=1&uin=281537422&service=login&nodirect=0&ptsig=irkKVvnTVtZyNkUBD9wKvSuUk58dLiMq4mQAf5kac1g_&s_url=https%3A%2F%2Fecclogin.yixun.com%2Flogin%2Fqqlogin%3Fe_appid%3D1%26isseller%3D0&f_url=&ptlang=2052&ptredirect=100&aid=700024506&daid=174&j_later=0&low_login_hour=0®master=0&pt_login_type=1&pt_aid=0&pt_aaid=0&pt_light=0https://ecclogin.yixun.com/login/qqlogin?e_appid=1&isseller=0
结果返回的数据是:
[JavaScript] 纯文本查看 复制代码 [mw_shl_code=csharp,true]if("ptlogin2_onFailure" in window.parent && typeof window.parent.ptlogin2_onFailure == "function") {
window.parent.ptlogin2_onFailure({ "err_code": "1434",
"err_msg": "系统繁忙,操作失败,平台的错误码。"
}); [/mw_shl_code]
而不是正常网页抓取的数据:
[JavaScript] 纯文本查看 复制代码 window.parent.ptlogin2_onSuccess({ "uid": "41633902",
"wg_skey": "a3QY7hieKkWRFO7gmaJBNaZ4N4iYOn5d4ixhIurM8Yo_",
"ptskey": "a3QY7hieKkWRFO7gmaJBNaZ4N4iYOn5d4ixhIurM8Yo_",
"qqnick": "LL" });
请问有其他人遇到这个问题的吗,怎么解决的呢?
|