如何使用AntiCaptcha解决FunCaptcha/RotateCaptcha?

2024-09-20 01:26:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我用下面的代码在我的selenium脚本中添加反验证码chrome插件。我能够解决goolge reCAPTCHA V2,但我不知道如何用这个插件解决RotateCaptcha/FunCaptcha。在

executable_path = "C:\Python27\chromedriver.exe"
os.environ["webdriver.chrome.driver"] = executable_path

chrome_options = Options()
chrome_options.add_extension(r'D:\anticaptcha.crx')

driver = webdriver.Chrome(executable_path=executable_path, chrome_options=chrome_options)
driver.get("http://stackoverflow.com")

RotateCaptcha/FunCaptcha

任何帮助都将不胜感激!在


Tags: path代码脚本插件driverseleniumchromerecaptcha
3条回答

除非你不可能用它。 我知道调用https://2captcha.com/或类似的服务可以为您提供 解决验证码的API。 他们会把它发送给一个给你答案的人

他们添加了一整篇文章来介绍如何在Selenium中使用这个扩展。 Solve captcha in Selenium. 他们还描述了一个功能性的东西。 FunCaptcha solving. 希望能有所帮助。我只使用Selenium和扩展来解决repatcha。在

这是因为funcaptcha设置了60秒的延迟,如果在这个时间段内没有解决验证码,它将失败。而且2captcha太慢了

相关问题 更多 >