We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed608af commit 511f4f6Copy full SHA for 511f4f6
1 file changed
zhihu.py
@@ -87,7 +87,7 @@ def create_session():
87
'X-Requested-With': "XMLHttpRequest"
88
}
89
90
- r = s.post('http://www.zhihu.com/login', data=login_data, headers=header)
+ r = s.post('http://www.zhihu.com/login/email', data=login_data, headers=header)
91
if r.json()["r"] == 1:
92
print "Login Failed, reason is:"
93
for m in r.json()["msg"]:
0 commit comments