dzmitry-duboyski / 2captcha-ts

JavaScript package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
https://www.npmjs.com/package/2captcha-ts
MIT License
17 stars 3 forks source link

Yandex Smart Captcha not work #7

Open leonardooleg opened 9 months ago

leonardooleg commented 9 months ago

Yandex Smart Captcha not work. It says that you need to transfer more parameters, although I transfer the pageurl and sitekey as well

dzmitry-duboyski commented 9 months ago

@leonardooleg Hello. Please describe in more detail what the problem is, and what version of the package are you using? Please also attach a screenshot of the error.

I have now checked the Yandex captcha solution, on their demo page the solution works successfully.

leonardooleg commented 9 months ago

screen page https://i.imgur.com/DGpnNfX.jpg

console error log

APIError: Some parameters are missing in this request. If you're using a pre-provided function, please open up an issue on the GitHub (https://github.com/dzmitry-duboyski/2captcha-ts) at Solver.yandexSmart (C:\OSPanel\domains\bot-metrik\node_modules\2captcha-ts\dist\structs\2captcha.js:410:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { err: 'ERROR_BAD_PARAMETERS', code: 23 }

package.json

{ "dependencies": { "2captcha-ts": "^2.1.1", "fs": "^0.0.1-security", "os": "^0.1.2", "puppeteer": "^21.5.1", "puppeteer-autoscroll-down": "^1.1.2", "puppeteer-core": "^21.4.1", "puppeteer-extra": "^3.3.6", "puppeteer-extra-plugin-recaptcha": "^3.6.8", "puppeteer-extra-plugin-stealth": "^2.11.2" } }

PBadicean commented 9 months ago

Здравствуйте, попробуйте решить капчу как описано в этой статье https://captchaforum.com/threads/reshenie-kapchi-na-servisax-jandeks.4351/

dzmitry-duboyski commented 9 months ago

@leonardooleg Если у вас проблемы при отправке капчи яндекса которую необходимо кликать, то попробуйте отправлять её с помощью метода Coordinates, как описано в статье из комментария выше.

Это всязано с тем, что у яндекса есть два вида капчи, первая где необходимо вводить текст, вторая где необходимо кликать по изображению. Капча яндекса с вводом текста должна решатся успешно. Капчу яндекса по которой необходимо кликать, необходимо решать как описано в статье.

Сообщите пожалуйста позже, или вам удалось успешно решить капчу.

leonardooleg commented 9 months ago

но там еще есть и сдвигать ползунок. Выходит нужно самому определять и отправлять определенный тип на разные методы решения. Я думал что если она Яндекс Смарт, то сама все методы включает в себя

dzmitry-duboyski commented 8 months ago

но там еще есть и сдвигать ползунок. Выходит нужно самому определять и отправлять определенный тип на разные методы решения. Я думал что если она Яндекс Смарт, то сама все методы включает в себя

@leonardooleg можете описать пожалуйста, на какой странице и после каких действий вы получаете версию Яндекс капчи с ползунком?