Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

大佬 你为什么要在每个爬虫里压计数器呢 #7

Open
liusanye opened this issue Apr 5, 2018 · 0 comments
Open

大佬 你为什么要在每个爬虫里压计数器呢 #7

liusanye opened this issue Apr 5, 2018 · 0 comments

Comments

@liusanye
Copy link

liusanye commented Apr 5, 2018

我看这个计数器是用来控制爬多少页的吧,我最不明白的地方是你在元类里向子类压计算器就算了,为什么还要把计算器变为要爬取的页数? 然后再在补充代理类里 while的最后再用fluh清零? 实在看不懂你这么做的原因,你不把计算器加上页码 不他不就永远是1吗?永远 是1不是就不用清零了?

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

No branches or pull requests

1 participant