linkedin_scraper icon indicating copy to clipboard operation
linkedin_scraper copied to clipboard

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".name"}

Open vastoutreach opened this issue 1 year ago • 6 comments

unable to scrape companies with latest version, receiving this error:

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".name"}

code:

driver = webdriver.Chrome(options=chrome_options,executable_path='/Users/user/Desktop/code/linkedin/chromedriver') company = Company("https://ca.linkedin.com/company/google",driver=driver) print(company)

vastoutreach avatar Jul 15 '23 12:07 vastoutreach

I just wanted to report that I am experiencing the same issue.

bigmrw avatar Aug 17 '23 22:08 bigmrw

Same here. Company scraping is not working

rafaeldelrey avatar Aug 18 '23 02:08 rafaeldelrey

There is a fix in https://github.com/joeyism/linkedin_scraper/commit/abb600bd7c4c3fb642b0c6e2d6a990fde9820b92

I simply copied that company.py to my pip install directory and it worked :)

EDIT: Although when doing that, scrape=False doesn't seem to work, neither does some other functionality e.g. get_employees.

jamesdeluk avatar Aug 23 '23 06:08 jamesdeluk

Same here. Company scraping is not working

paseto avatar Oct 07 '23 21:10 paseto

Same here. Company scraping is not working

did you find a fix?

Mohamed-Abdulla avatar Oct 31 '23 11:10 Mohamed-Abdulla

Profile scraping also does not work too.

Smithmayowa20 avatar Nov 14 '23 12:11 Smithmayowa20