Closed geiercsaba closed 1 year ago
Hmm not sure if I understand the question.
9/10 times you don't need to pass the session/cookies to the service because obtaining a recaptcha token is independent from the session. There are, in rare cases, where you might need to pass in the cookies to get a better recaptcha score. But most times, you don't need to.
sorry. its little hard to explain it in english. but you said rechaptcha token. You dont mention about token. I only have to pass api key(for capsolver), sitekey for the target website which is the same every time(if i got it right) and the url. how will it be unique
The token is what gets returned from the service (token = solved captcha).
Each token is unique.
I'd highly suggest taking a look into how recaptcha and similar captchas work. This first paragraph is basically a TLDR.
harvester = new_harvester( api_key="CHANGE THIS", solving_site="capsolver", captcha_type="v2", sitekey="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-", captcha_url="https://www.google.com/recaptcha/api2/demo" ) Its just a basic question about rechaptha if i use this to solve rechaptcha v2, how the service know the task, when i only provide information about the site, and nothing about the current session or something.