LinkedIn Scraper is a super-fast, lightweight Python tool that extracts professional data from LinkedIn β without using Selenium, browsers, or heavy dependencies.
LinkedIn Profiles βββΊ Python Script βββΊ CSV / JSON / Excel
Whether you're a recruiter, sales professional, marketer, or researcher, this tool saves you hours of manual work by automating LinkedIn data collection at scale.
π File:
Leade_generation.py
The free version extracts the following from LinkedIn search results:
| Field | Description |
|---|---|
| π Profile Link | Direct URL to the LinkedIn profile |
| π€ Full Name | Person's full name |
| πΌ Designation | Current job title / headline |
| π Location | City, Country |
{
"name": "Md. Shohanur Rahaman",
"designation": "Machine Learning | Data Science | NLP | Researcher",
"location": "Dhaka, Bangladesh",
"profile_link": "https://www.linkedin.com/in/md-shohanur-rahaman"
}Unlock the Pro version for full automation power:
π PRO UNLOCK
βββ π§ Extract Emails (if publicly available)
βββ π Extract Phone Numbers
βββ π Scrape User Posts & Activity
βββ πΌ Job Finder & Smart Search
βββ π Filter by Keyword / Location / Industry
βββ π€ Auto-Send Connection Requests
βββ π₯ Read Inbox Messages
βββ βοΈ Send Messages / SMS Automation
βββ β‘ And much more for Sales, Recruiting & Marketing
git clone https://github.com/Mahdi-hasan-shuvo/linkedin-scraper.git
cd linkedin-scraperpip install -r requirements.txtpython Leade_generation.pyπ That's it! Your leads will be saved automatically.
The scraper exports your data in 3 formats out of the box:
π leads.csv β Open in Excel / Google Sheets
π output.json β Use in any app or API
π leads.xlsx β Fully formatted spreadsheet
| Profile Link | Name | Designation | Location |
|---|---|---|---|
| linkedin.com/in/example | John Doe | Software Engineer at Google | USA |
| linkedin.com/in/example2 | Jane Smith | Data Scientist | Canada |
| linkedin.com/in/example3 | Ali Hassan | Full Stack Developer | Bangladesh |
| Feature | π Free | π PRO |
|---|---|---|
| Profile Scraping | β | β |
| Name, Designation, Location | β | β |
| CSV / JSON / Excel Export | β | β |
| Contact Info (Email / Phone) | β | β |
| User Posts Scraping | β | β |
| Job Finder | β | β |
| Filter by Location / Industry | β | β |
| Auto Connection Requests | β | β |
| Inbox Reader | β | β |
| Message / SMS Automation | β | β |
| Priority Support | β | β |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β LinkedIn Scraper β
β β
β 1οΈβ£ You provide search keywords / filters β
β β β
β 2οΈβ£ Script sends clean API / HTTP requests β
β β β
β 3οΈβ£ LinkedIn returns profile data β
β β β
β 4οΈβ£ Data parsed β structured into clean format β
β β β
β 5οΈβ£ Exported to CSV / JSON / Excel automatically β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key technical advantages:
- β No Selenium, no browser automation
- β No memory-heavy headless Chrome
- β
Pure Python
requests+ API calls - β Extremely fast β thousands of profiles in minutes
- β Lightweight β runs on any machine
linkedin-scraper/
β
βββ π Leade_generation.py β Main scraper script (FREE version)
βββ π location_geoId.json β LinkedIn GeoID location mapping
βββ π leads.csv β Sample output file
βββ π output/ β Auto-generated output folder
βββ π user_scrap/ β User profile scraping module
βββ π requirements.txt β Python dependencies
βββ π .gitignore
βββ π README.md
| Who | How They Use It |
|---|---|
| π― Sales Teams | Build targeted lead lists by industry, location & title |
| π Recruiters | Find candidates matching specific skills and roles |
| π Marketers | Research prospects for B2B campaigns |
| π Researchers | Collect professional data for academic studies |
| π€ Automation Engineers | Integrate LinkedIn data into CRMs and pipelines |
β οΈ For Educational & Research Purposes OnlyThis tool is intended for learning and research purposes. Scraping LinkedIn may violate their Terms of Service. The author is not responsible for any misuse. Use at your own risk and responsibility.
Contributions are always welcome! Here's how:
# 1. Fork the repository
# 2. Create your feature branch
git checkout -b feature/amazing-feature
# 3. Commit your changes
git commit -m "Add amazing feature"
# 4. Push to the branch
git push origin feature/amazing-feature
# 5. Open a Pull Request π
For major changes, please open an **Issue** first to discuss what you'd like to change.
Have a project in mind? Need custom scraping, automation, or data pipeline work? I'm available for freelance collaborations and paid projects.
| Channel | Details |
|---|---|
| π© Email | shuvobbhh@gmail.com |
| π¬ WhatsApp / Telegram | +8801616397082 |
| π Portfolio | mahdi-hasan-shuvo.github.io |
| πΌ GitHub | @Mahdi-hasan-shuvo |
"Quality work speaks louder than words. Let's build something remarkable together."
β Star this repo if you found it useful β it means the world!
Made with β€οΈ and β by Mahdi Hasan Shuvo
