2captcha icon indicating copy to clipboard operation
2captcha copied to clipboard

geetest v4 missing

Open ohnnnooo opened this issue 2 years ago • 6 comments

geetest v4 seems to be missing on the library

ohnnnooo avatar Dec 22 '23 06:12 ohnnnooo

any updates on this?

dumbasPL avatar Mar 28 '24 15:03 dumbasPL

any updates on this?

Hey there, the main branch is on api v1 and a bit dated;

https://github.com/Furry/2captcha/tree/next contains the new version, as well as support for geetest v4 and all other captcha types. Still testing it out and need to write it's docs before I push it to NPM which will be this weekend. It can be used with GitHub as source though.

Furry avatar Mar 28 '24 15:03 Furry

Still testing it out and need to write it's docs before I push it to NPM which will be this weekend

Nice, you can push to NPM using a different tag for example @next to give people an easy way to test without affecting anyone.

dumbasPL avatar Mar 28 '24 16:03 dumbasPL

Still testing it out and need to write it's docs before I push it to NPM which will be this weekend

Nice, you can push to NPM using a different tag for example @next to give people an easy way to test without affecting anyone.

Completely forgot that was a thing, thank you!

published the next branch to NPM, npm i [email protected]

Furry avatar Mar 28 '24 16:03 Furry

things that are broken in v4 regarding geetest:

  • geetest v4 doesn't have gt nor challenge
  • there is a proxied argument but there is no way to specify the proxy (there is, but it's missing the necessary type definitions)

dumbasPL avatar Mar 28 '24 22:03 dumbasPL

things that are broken in v4 regarding geetest:

  • geetest v4 doesn't have gt nor challenge
  • there is a proxied argument but there is no way to specify the proxy (there is, but it's missing the necessary type definitions)

Ah, hadn't even realized my bad. I do appreciate the info, and I'm sure there's some more bugs or inaccuracies other places that I've still gotta weed out.

https://www.npmjs.com/package/2captcha/v/4.0.0-1 https://github.com/Furry/2captcha/commit/825fe927fcdf590cd6f689890499d8f96fc726fe

Added a new method under geetestV4 with proper inputs, and both have had they're typings for the proxy in extras fixed

Furry avatar Mar 29 '24 01:03 Furry