Recently we have noticed that Funcaptcha on Linkedin became more complex and hard to bypass. In this post we will explain, how to deal with it.
The algorithm of work:
1. Open the authorization page
2. Enter incorrect authorization data and receive a captcha
3. Get the captcha parameters on the page
4. Send a captcha to the service 2captcha.com with the found parameters
5. Apply the resulting solution on the page
After successfully applying the token, you will see the message "Invalid phone number or password. Try again or create an account."
This example is configured in such a way that it receives a captcha more often.
To do this, the setting `uc=False` is used. Use `uc=True` so that the site shows the captcha less often.
Example for code in production:
Install
Install dependencies:
Setup
Set your api key to the `my_key` variable.
Set the proxy parameters to the `proxy` variable.
Run
For a successful captcha recognition on the linkedin.com website the captcha must be send with the `data` parameter to 2captcha API. 2captcha does not accept linkedin captchas sent without the `data` parameter. In this example, you can see how to extract the `data` parameter of the FunCaptcha for the linkedin site.
The algorithm of work:
1. Open the authorization page
2. Enter incorrect authorization data and receive a captcha
3. Get the captcha parameters on the page
4. Send a captcha to the service 2captcha.com with the found parameters
5. Apply the resulting solution on the page
After successfully applying the token, you will see the message "Invalid phone number or password. Try again or create an account."
This example is configured in such a way that it receives a captcha more often.
To do this, the setting `uc=False` is used. Use `uc=True` so that the site shows the captcha less often.
Example for code in production:
Code:
with SB(uc=True, xvfb=False, proxy=proxy, headless=True, agent=agent) as sb:
Install
Install dependencies:
Code:
pip install -r requirements.txt
Setup
Set your api key to the `my_key` variable.
Set the proxy parameters to the `proxy` variable.
You can use 2captcha proxies. To do this, you need to buy traffic on the Proxy settings page.
Run
Code:
python linkedin_FC.py
Please find .zip file attached to this thread for the .py code.p.s. Sometimes errors may occur during the execution of the example and it may fail with an error.
Attachments
Last edited: