

If you want to use other languages and frameworks, such as Python + Selenium, you can also refer to this tutorial, the idea of solving the problem is the same.įirst read the official document 2Captcha API Geetest, the solution is very detailed, simply put

Next, we will show the use of Nodejs + Playwright + 2Captcha to solve the login verification code problem at. After comparison, I found that the service of 2Captcha is very good, with fast decoding speed, stable server connection, multi-language API support, and reasonable price, I decided to try 2Captcha.

I learned about the verification code solutions provided on the market, and the most effective ones are basically OCR service providers. So next, let's find a way to recognize the geetest verification code. The feature of geetest verification code is to move puzzles and select words or numbers in order. Through searching, I found that the verification code service used by is provided by geetest, which is used by many websites. Since the English of the verification code is captcha, we search for captcha in the network panelĪn interface related to verification code was foundĮnter fullscreen mode Exit fullscreen mode Open, open the console, click login, then a small login box will pop up in the middle, usually after entering the account and password, the verification code box will pop up, we guess the verification code interface has been requested at this time. Next, I will use as an example to explain to you how to solve the most critical verification code problem in the automatic login script.įirst of all, you need to experience the login method of this website and understand its verification code type. Is there a way for scripts to automatically identify verification codes to achieve login? The purpose of verification codes is to prevent machine logins and automate script operations. However, when we log in to the website, we often see verification codes. Because some websites require users to log in, the automatic login function of the script is essential.

In our daily work, in order to improve work efficiency, we may write scripts to automate tasks.
