如何使用reCaptcha令牌在其他窗口中打开验证码提示 [英] How to Use a reCaptcha token to open a captcha prompt in a different window

查看:219
本文介绍了如何使用reCaptcha令牌在其他窗口中打开验证码提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用puppeteer自动填写表格.尽管在 headless:true 中对其进行测试时,我可以轻松地在那里解决验证码,所以这没有问题.问题是程序必须没有头,所以为了解决验证码,我必须将验证码带到一个单独的窗口并在那里解决.我看到您可以获取Recaptcha令牌,但是我不知道如何使用该令牌打开Recaptcha窗口?几乎就像验证码求解窗口一样,我不知道您是否必须使用某个库?

I am Using puppeteer to automate filling out a form. although when testing it in headless: true I can easily solve the captcha there so it is no problem. The problem is the program MUST be headless so in order to solve the captcha I must bring the captcha to a separate window and solve it there. I see you can grab a Recaptcha token but I don't know how I open a Recaptcha window using that token? Almost like a captcha solving window, I don't know if you have to use a certain library?

如果

推荐答案

我希望您找到了答案,如果没有尝试使用此

I hope you found the answer, if not try using this https://github.com/NoahCardoza/CaptchaHarvester it a captcha harvester like the ones in sneakers bots, when u solve each captcha a token is generated and u can use it to solve captcha I think

这篇关于如何使用reCaptcha令牌在其他窗口中打开验证码提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆