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
我使用example目录下的basic_usage.py 登录小红书web版,获取cookie并复制到代码中 程序逻辑在core.py 129行self.activate处报错,检测后发现我得cookie没有web_session字段
self.activate
def cookie(self, cookie: str): update_session_cookies_from_cookie(self.__session, cookie) if "web_session" not in self.cookie_dict: self.activate()
The text was updated successfully, but these errors were encountered:
不要在 console 中通过 document.cookie 获取,而是在 network 中复制请求中的 cookie
console
document.cookie
network
Sorry, something went wrong.
已解决,感谢解答
除了network还有其他方法吗
No branches or pull requests
我使用example目录下的basic_usage.py
登录小红书web版,获取cookie并复制到代码中
程序逻辑在core.py 129行
self.activate
处报错,检测后发现我得cookie没有web_session字段The text was updated successfully, but these errors were encountered: