Giter Club home page Giter Club logo

linkedin-crawler's Introduction

LinkedIn Profile Crawler

This project contains a set of Python scripts that automate the process of searching for LinkedIn profiles based on the names provided in an input CSV file, extracting specific information from the profiles, and storing the results in an output CSV file.

Project Structure ๐Ÿ“‚

The project consists of the following files and directories:

linkedin-profile-crawler/
โ”œโ”€โ”€ constants.py                 # Contains credentials and constants
โ”œโ”€โ”€ crawler.py                   # Main script for crawling LinkedIn profiles
โ”œโ”€โ”€ input_data.csv               # CSV file containing names to search for
โ”œโ”€โ”€ notfound_data.csv            # CSV file for profiles that couldn't be found
โ”œโ”€โ”€ output_data.csv              # CSV file containing the crawled data
โ”œโ”€โ”€ README.md                    # This README file
โ”œโ”€โ”€ requirements.txt             # List of Python package dependencies
โ””โ”€โ”€ utils/
    โ”œโ”€โ”€ department_separator.py  # Utility script for department separation
    โ”œโ”€โ”€ extracted_content.json   # JSON file with extracted content
    โ”œโ”€โ”€ __init__.py              # Makes utils a Python package
    โ”œโ”€โ”€ students_separator.py    # Utility script for student separation
    โ””โ”€โ”€ teacher_separator.py     # Utility script for teacher separation

Setup Instructions ๐Ÿ› ๏ธ

  1. Create a LinkedIn account if you do not already have one.

  2. Clone this repository to your local machine.

  3. Create a constants.py file with your LinkedIn credentials and other constants.

    Example constants.py:

    email = '[email protected]'
    password = 'your_password'
  4. Install the required Python packages using the requirements.txt file:

    pip install -r requirements.txt
    

    The most important packages are selenium and beautifulsoup4.

Running the Crawler ๐Ÿš€

  1. Ensure you have a input_data.csv file in the root directory with the names you wish to search on LinkedIn.
  2. Run the crawler.py script:
    python crawler.py
    
  3. After the script finishes, check the output_data.csv for successfully found profiles and notfound_data.csv for profiles that could not be found on LinkedIn.

Emojis Key ๐Ÿ—๏ธ

  • ๐Ÿ“‚: Indicates a directory or file
  • ๐Ÿ› ๏ธ: Represents the setup process
  • ๐Ÿš€: Denotes the action of running the script

Support ๐Ÿ‘‹

If you encounter any problems or have questions, feel free to contact me by email at [email protected] or reach out on Telegram at navid_falah.

linkedin-crawler's People

Contributors

navidfalah avatar

Stargazers

Behnam Yousefimehr avatar

Watchers

 avatar

Forkers

iliyaasadi

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.