linkedin-api icon indicating copy to clipboard operation
linkedin-api copied to clipboard

advice to avoid CHALLENGE

Open Eitol opened this issue 9 months ago • 3 comments

To prevent the challenge from being sent to me, I used Firefox cookies:

  • I logged in with Firefox
  • Then I extract the cookies with browser_cookie3
cookiejar_simple = browser_cookie3.firefox(domain_name='.linkedin.com')
cookiejar = requests.cookies.RequestsCookieJar()
for cookie in cookiejar_simple:
    cookiejar.set_cookie(cookie)        
api = Linkedin('', '', cookies=cookiejar)

I leave it to you as advice because it has helped me.

Eitol avatar May 09 '24 06:05 Eitol