Git Product home page Git Product logo

linkedin-connections-analyzer's Introduction

linkedin-connections-analyzer's People

Contributors

chawla201 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

linkedin-connections-analyzer's Issues

list index out of range

when i run your jupytor notebook's code it give this error on 4th table

/tmp/ipykernel_29774/2924215273.py:2: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  browser = webdriver.Chrome(path)
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
Cell In [11], line 4
      2 browser = webdriver.Chrome(path)
      3 login(browser)
----> 4 connections = connections_scraper(browser)
      5 browser.quit()
      6 connections.to_csv('connections.csv')

Cell In [10], line 6, in connections_scraper(browser)
      4 soup = BeautifulSoup(browser.page_source, 'html.parser')
      5 conn_num = soup.find_all('h3', class_='search-results__total')
----> 6 num = int(conn_num[0].text.strip().split()[0])
      7 time.sleep(3)
      8 i = 2

IndexError: list index out of range

Please Solve this issue if you are free. this would be very helpful

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.