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

关于验证码的解决方法 #78

Open
ghost opened this issue Aug 6, 2018 · 2 comments
Open

关于验证码的解决方法 #78

ghost opened this issue Aug 6, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2018

我是在Mac部署的,因此每次webdriver都会把Firefox显示出来。
我发现如果前面一次要输入验证码,那么输入之后,后面的就可以正常抓了。
所以我想,本爬虫是否可以判断是否需要验证,然后发送验证码图片给用户微信,再返回通过验证?
可以参考这个关联微信插件

@yijingping
Copy link
Member

验证码的问题比较麻烦,需要爬虫一直等待用户输入,不适合大量爬取的场景。 所以尽量使用拨号换 ip 解决

@FHU-yezi
Copy link

可以用提取页面元素的方法,获取一次验证码解决

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