joeyism / linkedin_scraper

A library that scrapes Linkedin for user data
GNU General Public License v3.0
2k stars 560 forks source link

Employee List not pulling up #89

Open asidapara opened 3 years ago

asidapara commented 3 years ago

Hey Joey,

I am getting the following error when I find the employees of a company with a couple thousand people working there.

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".org-people-profiles-module__profile-list"}

It looks like Linkedin only lets me look at "People you may know"? Is there a way to do it?

alikhambati commented 3 years ago

I am also getting this error, not sure how to work around it. Think I found the problem, in the get_employees function the xpath hardcode is wrong (linkedin might have changed it, so it just needs to be updated to match the current elements)

joeyism commented 3 years ago

I fixed this in 2.7.7