I have an existing project in Parsehub (Web scraping tool) that presently scrapes all relevant data within the site, via Regex. However, due to CaptchaV2, the scraping is blocked.
I require an additional module implemented, that solves captchav2 via an api request (2 captcha anti captcha etc.) so my scraper can be executed normally.
Essentially, I have completed some part of the Captcha script, but It is not complete.
I require the following routine to process captcha
1 - Script enters the target website (I'll specify the link) and uses xpath and extract function to target sitekey captcha html attribute (select via xpath, extract via regex). This data is saved as a variable. Furthermore, the site link, should also be captured as a variable
2 - Script then uses the API key for 2captcha (or any provider) to input the site key value, api key value and site url variable, as a parameters to submit the API request via a web url call.
3 - Api request returns a request ID, which should be captured via Regex.
4 - Script waits 50-70 seconds to allow the api to return a token.
5 - A second api request is made, by referencing the request Id and the api key as parameters to get the solved captcha token.
6 - Script returns to target site and find html class for captcha response value, inputs token value from solved captcha token variable thus solving captcha v2.
7 - Script should reference the existing code that i've made, to fetch and scrape the data.
3 freelancers are bidding on average $250 for this job
Hi. Actually I also had an issue with google recaptcha v2 while working for sneaker bot development. But finally I did with some manual solving. I would love to discuss more detail with you via chat. Thank you