{"repo":"drissbri/linkedin-scraper","free":true,"listed":false,"github":"https://github.com/drissbri/linkedin-scraper","clone":"git clone https://github.com/drissbri/linkedin-scraper.git","description":"This project is an open-source RESTful API combining Selenium and FastAPI to facilitate efficient data extraction from LinkedIn, enabling developers and analysts to access profile and company information through simple endpoints. Designed for easy integration and responsible usage, it welcomes contributions from the community.","language":"Python","stars":40,"topics":["fastapi","linkedin","scraper","selenium","webscraping"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"LinkedIn Scraper RESTful API Overview This project is a LinkedIn Scraper built using Selenium for web scraping and FastAPI for serving the scraped data via RESTful APIs. It allows users to fetch detailed profile and company information from LinkedIn based on the provided LinkedIn ID. Installation Prerequisites - Python 3.8+ - pip - git Setup 1. Clone the Repository - Clone this repository to your local machine using git clone https://github.com/drissbri/linkedin-scraper . 2. Create and Activate Virtual Environment - Navigate to the project directory. - Create a virtual environment by running python -m venv venv . - Activate the virtual environment: - On Windows, run venv\\Scripts\\activate . - On macOS/Linux, run source venv/bin/activate . 3. Install Dependencies - Install the required packages by running pip install -r requirements.txt . Configuration Environment Variables - Create a .env file in the root of the project. - Add the following environment variables: - Replace \"YourLinkedInAccessToken\" and \"AccessTokenExpiration\" with your actual LinkedIn access token and its expiration time. - Change \"HEADLESS\" to False if you dont want the browser to open in headless mode. Obtaining LinkedIn Access Token with Cookie-Editor To fetch data using the LinkedIn Scraper, you'll need a LinkedIn access token. The following steps will guide you through obtaining this token using the Cookie-Editor browser addon: Step 1: Install Cookie-Editor - Install Cookie-Editor : Add the Cookie-Editor ","default_branch":null,"files":null,"tree":[],"storefront":"/r/drissbri","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/drissbri/linkedin-scraper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}