Skip to content

Commit e98fa49

Browse files
Update README.md
1 parent 1e93b0d commit e98fa49

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Examples of API requests for different captcha types are available on the [Java
2525
- [FunCaptcha](#funcaptcha)
2626
- [GeeTest](#geetest)
2727
- [GeeTestV4](#geetestv4)
28-
- [hCaptcha](#hcaptcha)
2928
- [KeyCaptcha](#keycaptcha)
3029
- [Capy](#capy)
3130
- [Grid](#grid)
@@ -87,10 +86,7 @@ solver.setExtendedResponse(1);
8786
To get the answer manually use [getResult method](#send--getresult)
8887

8988
> [!TIP]
90-
> Use the `extendedResponse(1)` setting to obtain an extended response for the captcha. When using `extendedResponse(1)`, the response will be presented as a `JSON` string. Utilizing the extended response `extendedResponse(1)` will be helpful when solving captchas such as [hCaptcha](#hcaptcha) and [ClickCaptcha](#clickcaptcha). When using `extendedResponse(1)` for hCaptcha, the response will include additional fields, such as `respKe`y and `useragent`.<br>
91-
> Default answer for hCaptcha answer looks like this: `P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...`<br>
92-
> An extended response using `extendedResponse(1)` for an hCaptcha answer looks like this: `{"request":"P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...","respKey":"E0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...","useragent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.127 Safari/537.36","status":1}`
93-
89+
> Use the `extendedResponse(1)` setting to obtain an extended response for the captcha. When using `extendedResponse(1)`, the response will be presented as a `JSON` string. Utilizing the extended response `extendedResponse(1)` will be helpful when solving captchas such as [ClickCaptcha](#clickcaptcha).
9490
9591
## Solve captcha
9692
When you submit any image-based captcha use can provide additional options to help 2captcha workers to solve it properly.
@@ -218,17 +214,6 @@ captcha.setUrl("https://mysite.com/captcha.html");
218214
captcha.setProxy("HTTPS", "login:password@IP_address:PORT");
219215
```
220216

221-
### hCaptcha
222-
Method to solve hCaptcha captcha. Returns a token.
223-
Use `setExtendedResponse` to get `respKey` and `useragent` in captcha answer.
224-
225-
```java
226-
HCaptcha captcha = new HCaptcha();
227-
captcha.setSiteKey("c0421d06-b92e-47fc-ab9a-5caa43c04538");
228-
captcha.setUrl("https://2captcha.com/demo/hcaptcha");
229-
captcha.setProxy("HTTPS", "login:password@IP_address:PORT");
230-
```
231-
232217
### KeyCaptcha
233218
Token-based method to solve KeyCaptcha.
234219

@@ -414,7 +399,7 @@ solver.report(captcha.getId(), false); // captcha solved incorrectly
414399
```
415400

416401
## Proxies
417-
You can pass your proxy as an additional argument for methods: recaptcha, funcaptcha, geetest, geetest v4, hcaptcha, keycaptcha, capy puzzle, lemin, turnstile, amazon waf and etc. The proxy will be forwarded to the API to solve the captcha.
402+
You can pass your proxy as an additional argument for methods: recaptcha, funcaptcha, geetest, geetest v4, keycaptcha, capy puzzle, lemin, turnstile, amazon waf and etc. The proxy will be forwarded to the API to solve the captcha.
418403

419404
We have our own proxies that we can offer you. [Buy residential proxies](https://2captcha.com/proxy/residential-proxies) for avoid restrictions and blocks. [Quick start](https://2captcha.com/proxy?openAddTrafficModal=true).
420405

0 commit comments

Comments
 (0)