Hi,
I'm building a bot to create multiple Spotify accounts and i'm facing a problem with Google reCaptcha (checkbox reCaptcha v2) on the Spotify Sign up page.
Until now, i've been able to solve the reCaptcha v2 using the 2captcha API following their tutorial (they hire people to "manually solve captchas").
So yes, I effectively receive the "reCaptcha token" through the 2captcha API, meaning they managed to solve the captcha. I effectively manage to display the hidden "g-recaptcha-response" textfield and paste the " success token" in it. I'm supposed to send the "token" by clicking on a submit button BUT no button shows up with the "g-recaptcha-response". Clicking on the big "SIGN UP" button wont make it, Spotify acts like I forgot to click on the reCaptcha chechbox and send me "Please confirm you are not a robot".
I think Spotify chose to get and verify the response from the reCaptcha not through a submit button but through a Javascript callback function as stated here in the reCaptcha documentation that Google left for their users.
2captcha talks about this "callback function". They says i only have to call this function to send the "token" to Spotify. 2captcha shows how to find it in this tutorial, so i looked in the source code of the Spotify sign up page and found this Javascript code :
So i guess "window.captchaSuccessCallback" is the callback function to call but no matter how I do it, it wont work. I tried those different commands :
none of it worked, I can't call this damn function.
Is there anybody who can help me on this ?
I'm offering $50 to anyone who knows how to send the "token" to Spotify and validate the reCaptcha
or anyone with an another solution to bypass the Spotify reCaptcha.
I'm building a bot to create multiple Spotify accounts and i'm facing a problem with Google reCaptcha (checkbox reCaptcha v2) on the Spotify Sign up page.
Until now, i've been able to solve the reCaptcha v2 using the 2captcha API following their tutorial (they hire people to "manually solve captchas").
So yes, I effectively receive the "reCaptcha token" through the 2captcha API, meaning they managed to solve the captcha. I effectively manage to display the hidden "g-recaptcha-response" textfield and paste the " success token" in it. I'm supposed to send the "token" by clicking on a submit button BUT no button shows up with the "g-recaptcha-response". Clicking on the big "SIGN UP" button wont make it, Spotify acts like I forgot to click on the reCaptcha chechbox and send me "Please confirm you are not a robot".
I think Spotify chose to get and verify the response from the reCaptcha not through a submit button but through a Javascript callback function as stated here in the reCaptcha documentation that Google left for their users.
2captcha talks about this "callback function". They says i only have to call this function to send the "token" to Spotify. 2captcha shows how to find it in this tutorial, so i looked in the source code of the Spotify sign up page and found this Javascript code :
window.captchaOnloadCallback = function () {
var div = document.getElementById("captcha-div");
grecaptcha.render(
div,
{
'sitekey': div.getAttribute("data-sitekey"),
'callback': window.captchaSuccessCallback
}
);
};
var div = document.getElementById("captcha-div");
grecaptcha.render(
div,
{
'sitekey': div.getAttribute("data-sitekey"),
'callback': window.captchaSuccessCallback
}
);
};
So i guess "window.captchaSuccessCallback" is the callback function to call but no matter how I do it, it wont work. I tried those different commands :
"window.captchaSuccessCallback();"
"window.captchaSuccessCallback('TOKEN');"
"captchaSuccessCallback();"
"captchaSuccessCallback('TOKEN');"
"window.captchaSuccessCallback('TOKEN');"
"captchaSuccessCallback();"
"captchaSuccessCallback('TOKEN');"
none of it worked, I can't call this damn function.
Is there anybody who can help me on this ?
I'm offering $50 to anyone who knows how to send the "token" to Spotify and validate the reCaptcha
or anyone with an another solution to bypass the Spotify reCaptcha.