Skip to content

Commit 8c4e910

Browse files
update README
1 parent f9f3bcd commit 8c4e910

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# JavaScript Module for 2Captcha API
1212

1313
## Description
14-
A wrapper around the [2captcha](https://2captcha.com/) API. This wrapper support reCAPTCHA V2, reCAPTCHA V3, hCaptcha, Arkose Labs FunCaptcha, image captcha, Сoordinates (Click Captcha), Geetest, Geetest V4, Yandex Smart Captcha, Lemin captcha, Amazon WAF, Cloudflare Turnstile, Capy Puzzle, DataDome CAPTCHA, СyberSiARA, MTCaptcha.
14+
A wrapper around the [2captcha](https://2captcha.com/) API. This wrapper support reCAPTCHA V2, reCAPTCHA V3, hCaptcha, Arkose Labs FunCaptcha, image captcha, Сoordinates (Click Captcha), Geetest, Geetest V4, Yandex Smart Captcha, Lemin captcha, Amazon WAF, Cloudflare Turnstile, Capy Puzzle, DataDome CAPTCHA, СyberSiARA, MTCaptcha, Friendly Captcha.
1515

1616
Also added support for the `bounding_box` method. The Bounding Box Method allows you to mark data on the image. This method can be used to mark up datasets or highlight any objects in an image according to the given instructions. Read more about using *Bounding Box Method* on [documentation](https://2captcha.com/2captcha-api#bounding_box).
1717

@@ -36,6 +36,7 @@ Also added support for the `bounding_box` method. The Bounding Box Method allows
3636
- [DataDome CAPTCHA](#datadome-captcha)
3737
- [CyberSiARA](#cybersiara)
3838
- [MTCaptcha](#mtcaptcha)
39+
- [Friendly Captcha](#friendly-captcha)
3940
- [Bounding Box Method](#bounding-box-method)
4041
- [Usage of proxy](#usage-of-proxy)
4142
- [Other methods](#other-methods)
@@ -363,6 +364,24 @@ console.log(err);
363364
})
364365
```
365366

367+
### Friendly Captcha
368+
369+
Use this method to solve Friendly Captcha and obtain a token to bypass the protection.
370+
> **Important:** To successfully use the received token, the captcha widget must not be loaded on the page. To do this, you need to abort request to `/friendlycaptcha/...module.min.js` on the page. When the captcha widget is already loaded on the page, there is a high probability that the received token will not work.
371+
372+
```js
373+
solver.friendlyCaptcha({
374+
pageurl: "https://geizhals.de/?liftban=1&from=/455973138?fsean=5901747021356",
375+
sitekey: "FCMST5VUMCBOCGQ9"
376+
})
377+
.then((res) => {
378+
console.log(res);
379+
})
380+
.catch((err) => {
381+
console.log(err);
382+
})
383+
```
384+
366385
<h3 id="coordinates-captcha">Сoordinates (Click Captcha):</h3>
367386

368387
ClickCaptcha method returns coordinates of points on captcha image. Can be used if you need to click on particular points on the image.

README.ru.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# JavaScript модуль для 2Captcha API
1111

1212
## Описание
13-
Оболочка вокруг API сервиса [2captcha](https://2captcha.com/). Эта оболочка поддерживает решение следующих типов капч: reCAPTCHA V2, reCAPTCHA V3, hCaptcha, Arkose Labs FunCaptcha, image captcha, Сoordinates (Click Captcha), Geetest, Geetest V4, Yandex Smart Captcha, Lemin captcha, Amazon WAF, Cloudflare Turnstile, Capy Puzzle, DataDome CAPTCHA, СyberSiARA, MTCaptcha.
13+
Оболочка вокруг API сервиса [2captcha](https://2captcha.com/). Эта оболочка поддерживает решение следующих типов капч: reCAPTCHA V2, reCAPTCHA V3, hCaptcha, Arkose Labs FunCaptcha, image captcha, Сoordinates (Click Captcha), Geetest, Geetest V4, Yandex Smart Captcha, Lemin captcha, Amazon WAF, Cloudflare Turnstile, Capy Puzzle, DataDome CAPTCHA, СyberSiARA, MTCaptcha, Friendly Captcha.
1414

1515
Также добавлена поддержка метода `bounding_box`. Метод ограничивающей рамки позволяет размечать данные на изображении. Этот метод можно использовать для разметки наборов данных или выделения любых объектов на изображении в соответствии с заданными инструкциями. Подробнее об использовании *Bounding Box Method* читайте в [документации](https://2captcha.com/2captcha-api#bounding_box).
1616

@@ -33,8 +33,10 @@
3333
- ✅ DataDome CAPTCHA
3434
- ✅ СyberSiARA
3535
- ✅ MTCaptcha
36+
- ✅ Friendly Captcha
3637
- ✅ Bounding Box Method
3738

39+
3840
## Установка
3941

4042
```sh
@@ -309,6 +311,25 @@ console.log(err);
309311
})
310312
```
311313

314+
### Friendly Captcha
315+
316+
Используйте этот метод, чтобы решить Friendly Captcha и получить токен для обхода защиты.
317+
318+
> **Важно:**Для успешного использования полученного токена, на странице не должен быть загружен виджет капчи. Для этого вам нужно прервать запрос к `/friendcaptcha/...module.min.js` на странице. Когда виджет капчи уже загружен на страницу, велика вероятность, что полученный токен не сработает.
319+
320+
```js
321+
solver.friendlyCaptcha({
322+
pageurl: "https://geizhals.de/?liftban=1&from=/455973138?fsean=5901747021356",
323+
sitekey: "FCMST5VUMCBOCGQ9"
324+
})
325+
.then((res) => {
326+
console.log(res);
327+
})
328+
.catch((err) => {
329+
console.log(err);
330+
})
331+
```
332+
312333
### Сoordinates (Click Captcha):
313334
```js
314335
const Captcha = require("2captcha-ts")

0 commit comments

Comments
 (0)