tomquirk / linkedin-api

👨‍💼Linkedin API for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`search_people` function always return empty list

linda-benboudiaf opened this issue · comments

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

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.

Have the same problem...

Seems to be an issue with every search function, theres a draft pr here #332 (comment)

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 ?

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