Skip to content
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

扫描登录之后cookie文件夹下没有自动生成cookie文件 导致报错 #118

Open
zhaozg5209 opened this issue Dec 28, 2020 · 3 comments

Comments

@zhaozg5209
Copy link

@zhaozg5209 zhaozg5209 commented Dec 28, 2020

No description provided.

@huanghyw
Copy link
Owner

@huanghyw huanghyw commented Dec 28, 2020

图片查看器背景需要白色

@zhaozg5209
Copy link
Author

@zhaozg5209 zhaozg5209 commented Dec 28, 2020

图片查看器背景需要白色

不是这个问题 这个问题解决了 成功登录了 代码报错
Traceback (most recent call last):
File "main.py", line 26, in
jd_seckill.reserve()
File "D:\GIT\github\jd_seckill-master\jd_spider_requests.py", line 309, in new_func
self.login_by_qrcode()
File "D:\GIT\github\jd_seckill-master\jd_spider_requests.py", line 297, in login_by_qrcode
self.spider_session.save_cookies_to_local(self.nick_name)
File "D:\GIT\github\jd_seckill-master\jd_spider_requests.py", line 96, in save_cookies_to_local
with open(cookies_file, 'wb') as f:
OSError: [Errno 22] Invalid argument: './cookies/JD185*****209.cookies'

@huanghyw
Copy link
Owner

@huanghyw huanghyw commented Dec 28, 2020

目前不支持昵称里面有特殊字符,先调整下昵称吧,把星号去掉。
这个问题后续会修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.