-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
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
初始化client后,调用get_user_notes方法提示无登录信息,或登录信息为空 #3
Comments
@ReaJason 对了,请问目前有方法可以获取到笔记的浏览量/阅读数吗? |
请问一下,我是根据这个接口获取的cookie,但是在请求的时候会报错。 代码: xhs_client = XhsClient(cookie)
# 获取笔记内容
text = xhs_client.get_note_by_id("643b522c00000000130331c5")
print(text) 报错信息: |
你这种情况应该是网络问题,请尝试直接访问网页端看能否访问,或者电脑代理,把代理给关掉 |
确实是代理的问题,关闭代理就好了,不知道为什么网页端可以访问但是执行代码就会报错。 |
按照文档执行如下代码,提示“无登录信息,或登录信息为空”
执行效果如图:
请问如何能正常使用,谢谢🙏
The text was updated successfully, but these errors were encountered: