Skip to content

Commit d2c69ea

Browse files
Update README.md
1 parent b17e7ad commit d2c69ea

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
# JavaScript module for 2Captcha API (captcha solver)
1111

12-
The easiest way to quickly integrate the [2Captcha](https://2captcha.com/) captcha-solving service into your code and automate the solving of any type of captcha.
13-
Examples of API requests for different captcha types are available on the [JavaScript captcha solver](https://2captcha.com/lang/javascript) page.
12+
The easiest way to quickly integrate the [2Captcha] captcha-solving service into your code and automate the solving of any type of captcha.
13+
Examples of API requests for different captcha types are available on the [JavaScript captcha solver] page.
1414

1515
- [JavaScript module for 2Captcha API (captcha solver)](#javascript-module-for-2captcha-api-captcha-solver)
1616
- [Installation](#installation)
1717
- [Configuration](#configuration)
1818
- [TwoCaptcha instance options](#twocaptcha-instance-options)
1919
- [Solve captcha](#solve-captcha)
20-
- [Image captchas](#image-captcha)
20+
- [Image Сaptcha](#image-captcha)
2121
- [reCAPTCHA v2](#recaptcha-v2)
2222
- [reCAPTCHA v3](#recaptcha-v3)
2323
- [hCaptcha](#hcaptcha)
@@ -51,7 +51,7 @@ Examples of API requests for different captcha types are available on the [JavaS
5151
- [Proxies](#proxies)
5252
- [Examples](#examples)
5353
- [Examples using Puppeteer](#examples-using-puppeteer)
54-
- [Useful articles](#useful-articles)
54+
- [Useful articles](#useful-articles)
5555
- [Get in touch](#get-in-touch)
5656
- [Join the team 👪](#join-the-team-)
5757
- [License](#license)
@@ -119,7 +119,6 @@ Below you can find basic examples for every captcha type, check out the code bel
119119
To bypass a normal captcha (distorted text on an image) use the following method. This method can also be used to recognize any text in an image.
120120

121121
```js
122-
// Read from a file as base64 text
123122
const imageBase64 = fs.readFileSync("./examples/media/imageCaptcha_6e584.png", "base64")
124123

125124
solver.imageCaptcha({
@@ -129,7 +128,6 @@ solver.imageCaptcha({
129128
max_len: 5
130129
})
131130
.then((res) => {
132-
// Logs the image text
133131
console.log(res);
134132
})
135133
.catch((err) => {
@@ -726,15 +724,14 @@ At the moment we have implemented examples of bypassing Cloudflare Challenge pag
726724
Links:
727725
- [Cloudflare Bypassing Demo using Puppeteer](https://github.com/2captcha/cloudflare-demo)
728726
- [Solving reCAPTCHA V2 using Puppeteer and clicks](https://github.com/2captcha/puppeteer-recaptcha-solver-using-clicks)
727+
- [Custom Slider Captcha Demo](https://github.com/2captcha/custom-slider-demo)
729728

730729

731730
## Useful articles
732731
* [How to bypass captcha using JavaScript](https://2captcha.com/blog/how-to-use-javascript-to-bypass-captcha#how-to-solve-and-bypass-a-captcha-with-javascript-using-npm-package-2captchacaptcha-solver)
733732
* [Bypassing Cloudflare Challenge with Puppeteer and 2Captcha](https://2captcha.com/blog/bypassing-cloudflare-challenge-with-puppeteer-and-2captcha)
734733
* [How to bypass Geetest v4 CAPTCHA](https://2captcha.com/blog/geetest-v4-support)
735734
* [Automatic reCAPTCHA V3 resolution - a tutorial for developers and customers](https://2captcha.com/blog/recaptcha-v3-automatic-resolution)
736-
* [Custom Slider Captcha Demo](https://github.com/2captcha/custom-slider-demo)
737-
* [Cloudflare Challenge page bypass code example](https://github.com/2captcha/cloudflare-demo)
738735

739736
## Get in touch
740737

@@ -756,6 +753,8 @@ The code in this repository is licensed under the MIT License. See the [LICENSE]
756753
The graphics and trademarks included in this repository are not covered by the MIT License. Please contact <a href="mailto:support@2captcha.com">support</a> for permissions regarding the use of these materials.
757754

758755
<!-- Shared links -->
756+
[2Captcha]: https://2captcha.com/
757+
[JavaScript captcha solver]: https://2captcha.com/lang/javascript
759758
[post options]: https://2captcha.com/2captcha-api#normal_post
760759
[list of supported languages]: https://2captcha.com/2captcha-api#language
761760
[Buy residential proxies]: https://2captcha.com/proxy/residential-proxies

0 commit comments

Comments
 (0)