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

`search_people` function always return empty list

Open linda-benboudiaf opened this issue 1 year ago • 4 comments

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

linda-benboudiaf avatar Jun 21 '23 11:06 linda-benboudiaf

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.

weknin avatar Jun 28 '23 21:06 weknin

Have the same problem...

FujiwaraChoki avatar Aug 12 '23 20:08 FujiwaraChoki

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

gursheyss avatar Aug 15 '23 07:08 gursheyss

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 ?

bschilder avatar Oct 05 '23 14:10 bschilder

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

tomquirk avatar Mar 14 '24 21:03 tomquirk

UP, have the same problem... Using 2.1.1 version. Help please.

Juuhz avatar Aug 16 '24 18:08 Juuhz