-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyone know how to send captcha solution? #438
Comments
Hello, I tried to make a new request , something like this with no success: res2 = requests.get( all time return the not found linkedin page, any ideas? |
You forgot to send the cookies and remove the #. it should look something like this: LinkedIn either checks IP or cookies, or both for the checkpoints. |
Hi, I solved using brightdata proxies and initially creating the cookie in a specified location (cookies_dir='cookies/') with refresh_cookies = True and after with the cookie using refresh_cookies=False (this avoid another attempt to authenticate) api= Linkedin(email,password ,refresh_cookies=False, cookies_dir='cookies/', proxies=proxies) |
Yes but eventually your cookies are going to expire or get flagged. Then you need to generate new ones and you need to do that on the same ip you logged in on. Then after a little while that ip is going to get flagged aswell |
Hi, I would like to use your solution but I'm not sure where to find this method: _do_authentication_request and |
Are you paying for this one? Or is there a free alternative? |
Add me on discord: nijneleven |
@bricefotzo Brightdata is pretty cheap for moderate usage, give it a go here https://get.brightdata.com/v0qdnffggqeb (disclaimer, affiliate link). @bricefotzo @Nijneleven come join the Discord if you like! https://discord.com/invite/hdd48NEB37 |
I'm trying to solve the Challenge I'm facing when trying to generate new cookies. However im kind of stuck on how to send the captcha solution within a request.post.
First i just use the _do_authentication_request:
res = requests.post(
f"{Client.LINKEDIN_BASE_URL}/uas/authenticate",
data=payload,
cookies=self.session.cookies,
headers=Client.AUTH_REQUEST_HEADERS,
proxies=self.proxies,
)
data = res.json()
Then when i face a captcha i want to solve it using the challenge_url it gives. But how do i send the result back?
Do i need to make a request.session ? and what do i need to post in order to solve the captcha and retrieve the cookies properly?
I hope someone can tell me how to do this properly
The text was updated successfully, but these errors were encountered: