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

读取博客文章数目不全 #10

Closed
silenceeeeee opened this issue May 13, 2022 · 7 comments
Closed

读取博客文章数目不全 #10

silenceeeeee opened this issue May 13, 2022 · 7 comments

Comments

@silenceeeeee
Copy link

全部博客文章共有1000+条,但目前只能抓取前5条.
image
image

@junyiz
Copy link
Owner

junyiz commented May 14, 2022

可能有啥 bug 吧?但新浪博客改为登录才能查看后,调试代码就需要一个账号或 cookie 了,你若愿意的话,可以把你的账号或 cookie 发我邮箱(junyime@qq.com),我看到时会看看

@silenceeeeee
Copy link
Author

已发。感觉这个可能和跨度时间有关系,我5.9第一次抓取的时候是能抓到10条的,昨天5.13就只能抓5条,刚刚试了下现在只有4条了。

@junyiz
Copy link
Owner

junyiz commented May 15, 2022

已经修复了,请下载 0.3.4 版上试试

@silenceeeeee
Copy link
Author

silenceeeeee commented May 15, 2022

已更新至0.3.4,目前还是不行,现在只能获取前两篇了。可能是cookie的问题,我试了一下加不加cookie读取到结果的是一样的。
image
image

@junyiz
Copy link
Owner

junyiz commented May 15, 2022

我自己试,已经可以了

@silenceeeeee
Copy link
Author

那...可能是我windows系统的问题?我再去借个机器看下。

@silenceeeeee
Copy link
Author

破案了,windows里面命令行-c后面的cookies应该打双引号,我按readme里面一直打的单引号。不好意思麻烦你了,现在已经可以正常读取了。

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

No branches or pull requests

2 participants