tomquirk / linkedin-api

👨‍💼 LinkedIn API for Python
https://pypi.org/project/linkedin-api
MIT License
1.95k stars 430 forks source link

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

Closed Lin-jun-xiang closed 6 months ago

Lin-jun-xiang commented 1 year ago

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!