首页 新闻 会员 周边 捐助

python

0
[待解决问题]

各个大神,请你们有遇到这种情况吗?“您的浏览器未启用Javascript,无法进行登录“代码如下:import requests
header={'Connection':'keep-alive',
'Accept': 'application/json, text/javascript, */*; q=0.01',
'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 LBBROWSER',
'Content-Type': 'application/json; charset=UTF-8',
'Accept-Encoding':'gzip, deflate',
'Accept-Language': 'zh-CN,zh;q=0.8',
'Cookie': 'UM_distinctid=15cc35e26e41ff-0b447480163e19-18215f79-1fa400-15cc35e2708893; __gads=ID=d03896339c746908:T=1510024649:S=ALNI_MbHtNPA0Co0CDJfMfhPVYNI_y3K_A; ASP.NET_SessionId=4znmkpjwmqnn5fmyqc5mbzwj; infoc_client_uuid=94ce81d25b6b114798caa39263ceefc1; AspxAutoDetectCookieSupport=1; _ga=GA1.2.1254079312.1501034924; _gid=GA1.2.301567059.1509932382; SERVERID=dcc5cb8c464da84cc9928c22dd5884f8|1510297556|1510297556'}
payload={"input1":"pYYGpgxc6Xh4+YkgaNEvynKb1pMZtCgIhZKBy6Dl99rq32GyxhMKS+YWUf805cTUJDclZaTKs0KQZs3S1KoxeuvVJEcWCzxrF1ZxFp8PDmx8J8HOvExt/D55iZKHEcq3NaledzX3toD59jpE+ZMFUpdPWwRtwSxzSlmkFRe1rHI=","input2":"I6kgKwVOrkalHzRNXdR9Epz+SKKVDHma5xA96mePr/q3FprgqBX7KNbXltCTifcTzKa0J2SZ75YdXpYwO0miWvpqyip/a6pgA09zVYGIhhLHHuXVtGvbK+koqYVS8egImtBPBGdTSsQvhYo/grDp7KDJvTnxoYlqnB5ltHPxqao=","remember":False,"geetest_challenge":"f28e791e8de54633767d3738b0459a836i","geetest_validate":"26536b589db68c6fabdf03910dcbe2f9","geetest_seccode":"26536b589db68c6fabdf03910dcbe2f9|jordan"}
r=requests.get('https://passport.cnblogs.com/user/signin',headers=header,json=payload,verify=False)
print(r.text)

liangsp的主页 liangsp | 菜鸟二级 | 园豆:202
提问于:2017-11-22 11:26
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册