Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1·PythonSpiderNotes

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

Author: GoldIslandCreated Oct 19, 2017Updated Dec 14, 2025

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呢?是不是 知乎的登陆路径错了呢?

Source: lining0806/PythonSpiderNotes

View original on GitHubView discussion on GitHub