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

`search_people()` via `current_company` not return all.

Open Lin-jun-xiang opened this issue 1 year ago • 0 comments

I want to use search_people with parameter-current_company to find people.

However, there are some problem in this method:

  1. Not all the people will be return. (ex: company have 1000 people, but return only 45 people)
  2. Different linkedin account will return different results, I have 2 linkedin accounts:
  • First account can get 45/1000 people
  • Second account can get 1/1000 people

Example

from linkedin_api import Linkedin

api = Linkedin(config.account, config.psw)

company = "xxx"
company_id = api.search_companies(company)[0]["urn_id"]

workers = api.search_people(current_company=[company_id])

How can I get the all people ? Thanks for your help!

Lin-jun-xiang avatar Mar 16 '23 06:03 Lin-jun-xiang