Git Product home page Git Product logo

Comments (3)

lxuis97 avatar lxuis97 commented on August 15, 2024

Same problem, I got this error message :

Traceback (most recent call last):
File "linkedin_search.py", line 56, in
lk_get_company_info('https://www.linkedin.com/company/sicara/')
File "linkedin_search.py", line 34, in lk_get_company_info
company.scrape(close_on_complete=False, get_employees=True)
File "/Users/Louis/Library/Python/3.8/lib/python/site-packages/linkedin_scraper/company.py", line 79, in scrape
self.scrape_logged_in(get_employees = get_employees, close_on_complete = close_on_complete)
File "/Users/Louis/Library/Python/3.8/lib/python/site-packages/linkedin_scraper/company.py", line 148, in scrape_logged_in
navigation.find_elements_by_xpath("//a[@data-control-name='page_member_main_nav_about_tab']")[0].click()
IndexError: list index out of range

from linkedin_scraper.

joeyism avatar joeyism commented on August 15, 2024

I just pushed a fix. Try version 2.5.2

from linkedin_scraper.

mohitag09 avatar mohitag09 commented on August 15, 2024

Using the fix, getting following error.


IndexError Traceback (most recent call last)
in
---> 12 company = Company(linkedin_url = "https://www.linkedin.com/company/google",driver=driver,close_on_complete=False,get_employees=False)
13 set_trace()
14 print(company)

~\AppData\Roaming\Python\Python38\site-packages\linkedin_scraper\company.py in init(self, linkedin_url, name, about_us, website, headquarters, founded, company_type, company_size, specialties, showcase_pages, affiliated_companies, driver, scrape, get_employees, close_on_complete)

~\AppData\Roaming\Python\Python38\site-packages\linkedin_scraper\company.py in scrape(self, get_employees, close_on_complete)

~\AppData\Roaming\Python\Python38\site-packages\linkedin_scraper\company.py in scrape_logged_in(self, get_employees, close_on_complete)

IndexError: list index out of range

from linkedin_scraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.