We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "./spider.py", line 82, in search() File "./spider.py", line 76, in search users = response.json()['list'] KeyError: 'list'
The text was updated successfully, but these errors were encountered:
@ChaosTong 我猜是因为没有登陆成功,可能的原因是LOGIN_HEADER中的Cookie过期了,这个Cookie是由js生成用来标注客户端的,你可以用浏览器抓一下请求,把Cookie重写一下。当然用户名和密码也得配置正确。
Sorry, something went wrong.
是的,重写LOGIN_HEADERS,设置成自己的相关设置就OK了。
No branches or pull requests
Traceback (most recent call last):
File "./spider.py", line 82, in
search()
File "./spider.py", line 76, in search
users = response.json()['list']
KeyError: 'list'
The text was updated successfully, but these errors were encountered: