PythonSpiderNotes icon indicating copy to clipboard operation
PythonSpiderNotes copied to clipboard

返回的requests.models.Response不能使用r.join()函数

Open GoldIsland opened this issue 8 years ago • 2 comments

r = session.post('http://www.zhihu.com/login/email', data=loginData, headers=header)

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

为什么不能转化为 json呢?是不是 知乎的登陆路径错了呢?

GoldIsland avatar Oct 19 '17 01:10 GoldIsland

我也有同样的问题,这个问题解决了吗

TessChan avatar Jul 06 '18 08:07 TessChan

网址错了吧,https://www.zhihu.com/signin现在是这个了,但我改成了这个还是错

ymGdragon avatar Dec 07 '18 10:12 ymGdragon