GNU General Public License v3.0

项目介绍

TufayelLUS/LinkedIn-Scraper 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 296 个 Star、65 次 Fork。

仓库全名
TufayelLUS/LinkedIn-Scraper
开源许可证
GNU General Public License v3.0
Star 数
296
Fork 数
65

README 摘要

LinkedIn Lead Scraper 🚀 A LinkedIn Scraper to scrape up to 10k LinkedIn profiles and save their e-mail addresses if available! It collects 10k profiles from the LinkedIn directory and their details like name, current position/headline, and location information. After all profiles are collected, it starts finding their email addresses. You can narrow down your searches based on location, role, etc. Trouble with the…

完整内容见 GitHub 原始 README 或本页 。

常见问题

LinkedIn-Scraper 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 296 个 Star。

LinkedIn-Scraper 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 LinkedIn-Scraper 的源码?

可以直接克隆仓库:git clone https://github.com/TufayelLUS/LinkedIn-Scraper.git,默认分支为 master;安装与运行步骤见仓库 README。

LinkedIn-Scraper 最近还在维护吗?

仓库最近一次更新为 2025年7月8日,当前没有未关闭的 Issue;Star 数为 296,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A LinkedIn Scraper to scrape up to 1k LinkedIn profiles(due to LinkedIn limit) from company profile links and save their e-mail addresses if available! (actively maintained, if anything doesn't work, open an issue in the repo)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Python

Release

贡献者

README

LinkedIn Lead Scraper 🚀

A LinkedIn Scraper to scrape up to 10k LinkedIn profiles and save their e-mail addresses if available!
It collects 10k profiles from the LinkedIn directory and their details like name, current position/headline, and location information. After all profiles are collected, it starts finding their email addresses. You can narrow down your searches based on location, role, etc.

Windows Compiled GUI Version

Download from here

GUI Version Screenshot



If you want to run the Windows compiled version on Linux, you can install Wine and try it.

Installation Guide for Source Code Version

  1. First, download Python software from Python’s official website. Python 3.x only is supported. Download from here or for a precise Python version, download this version and scroll to the bottom to download the correct version based on your operating system and make sure to tick on “Add to PATH” during installation in windows machines
  2. Now, from the start menu (Windows) or Applications list (Linux/Mac), search for Command Prompt (Windows) or terminal (on Mac/Linux) and copy-paste the command written below:
pip3 install requests

This will show some installation progress and will install the library eventually. If you see any pip warning, you may ignore that as that’s optional.

  • If pip doesn’t get recognized as a command, please re-install Python with “Add python to executable path” enabled, or for Mac/Linux, run the command apt-get install python3-pip
  1. An account on LinkedIn is a must! You can create temporary profiles if you want.

Usage Guide

  1. Assuming that the Python software and the library required by this project are installed, time for the script execution. First, download the Python script of your choice and put it inside a folder.
  2. Right-click on the Python script and select the option “Edit with IDLE”. If you don’t see this option, you have to figure that out yourself to fix the problem but a correct installation will show this option in the right-click menu.
  3. This option should open up a code window. Locate the linkedin_email and linkedin_password placeholders and put your login details (don’t worry, it won’t get leaked to anyone). After that, set the desired company profile URL inside the target_company_link placeholder and save the changes by pressing the ctrl+s shortcut.
  4. Now, locate the Run menu and select Run Module and the automation will start processing. When you see a >>> at the bottom of the output screen, it will mean that the process has finished.

Other Ways to Run the Script

Windows

  • You can set the configuration of email, password, and company profile link and save the changes. Double-clicking the Python file will also execute it.

Linux/Mac

  • In the terminal, cd to the script folder and type
python3 Random_Scraper.py
Or,
python3 CompanyWise_Leads.py

Variants Details

Random_Scraper.py is the initial development of the scraper that collects up to 10k random LinkedIn profiles from the directory and picks info from their profile
CompanyWise_Leads.py is the revised version of the code to be able to collect company wise employee profiles for more leads information.
If you’re having issues with the login-based version(the base script), you can try either the cookie version (doesn’t have e-mail scraping ability).

Limits

  • Do not log in from the IP address from where you don’t usually login to your LinkedIn account, otherwise, it will trigger their security system and won’t let you log in.
  • Result is limited to 10,000 records only (this is a limitation from LinkedIn’s side)
  • First-page data is not collected due to being away from API endpoint capability. But the cookie version will get you covered.

Disclaimer

Do not flood LinkedIn using your account on a large number to avoid issues with your account. I don’t hold any responsibility if you face issues with your account in the future. Use at your own risk!

Loved This Open Source Project?

Star the repository and share it with your friends who might need this. More variants of the LinkedIn Scraper will come soon. Keep this on watch for more updates!
If you want to sponsor or buy me a coffee, reach out to my LinkedIn or X (formerly Twitter)

评论

暂无评论