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

知乎反爬 #9

Open
myunxi opened this issue May 17, 2017 · 1 comment
Open

知乎反爬 #9

myunxi opened this issue May 17, 2017 · 1 comment

Comments

@myunxi
Copy link

myunxi commented May 17, 2017

现在知乎已经加上反爬的功能了,如何破解,我每次爬一会就把账号给冻结了

@brianway
Copy link
Owner

我写这个项目的初衷是展示如何使用爬虫框架进行实战,提供一个样例。至于反爬之类的,目前不提供解决方案。

最简单的做法是,在 config.json 里,把每次访问的延时设置长点,现在默认的是 500 ms,线程 20 个,如果还不行,就再降低频率,模拟人工点击的频率,应该是不会被封的。

Repository owner deleted a comment from Dtrycode Mar 4, 2018
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