tomquirk / linkedin-api

👨‍💼Linkedin API for Python
MIT License
1.71k stars 401 forks source link

`search_people` function always return empty list #319

Closed linda-benboudiaf closed 3 months ago

linda-benboudiaf commented 1 year ago

NB : Cookies session is valid and the connexion to the API is working as well !

weknin commented 1 year ago

This seems to happen to me on all of the search functions, the response has a 403 Forbidden status code. Other APIs work great. Would really like a workaround.

FujiwaraChoki commented 10 months ago

Have the same problem...

gursheyss commented 10 months ago

Seems to be an issue with every search function, theres a draft pr here https://github.com/tomquirk/linkedin-api/pull/332#issue-1846896485

bschilder commented 8 months ago

This is occurring for me as well when using the current_company. It seems this wasn't fixed by #332

company_urn = ['1399', '62701122', '67383135', '33794684']
people = api.search_people(current_company=company_urn)
people
## []

I can see GSK ('1339') does indeed have employees listed: https://www.linkedin.com/company/gsk/people/

Do you know what might be going on here @tomquirk ?

tomquirk commented 3 months ago

Hi @linda-benboudiaf @weknin @FujiwaraChoki @gursheyss @bschilder

I have a potential fix in version 2.1.1. Please give it a try and let me know if it solves your issues.

pip install linkedin-api==2.1.1