Skip to main content

Company staff scraper library for LinkedIn

Project description

StaffSpy is a staff scraper library for LinkedIn companies.

Features

  • Scrapes all staff from a company on LinkedIn
  • Aggregates the employees in a Pandas DataFrame

Installation

pip install -U staffspy

Python version >= 3.10 required

Usage

from staffspy import scrape_jobs

staff = scrape_staff(
    company="openai" 
    
    # optional filters
    # search_term="software engineer",
    # location="Dallas, TX",
    # results_wanted=20,
)
print(f"Found {len(staff)} staff")
print(staff.head())
staff.to_csv("jobs.csv", index=False)

A browser will open to sign in to LinkedIn. Press enter after signing in to begin scraping. Ctrl-c to stop scraping.

Staff Schema

Staff
├── name
├── username
├── about
├── skills
├── location
├── experiences
│   ├── position
│   ├── company
│   ├── location
│   ├── duration
│   ├── from_date
│   └── to_date
├── educations
    ├── school_name
    ├── degree
    ├── location
    ├── duration
    ├── from_date
    └── to_date

Frequently Asked Questions


Q: Can I get my account banned?
A: It is a possiblity, although it has not happened to me. Use at your own risk.

Q: Other issues?
A: If problems persist, submit an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

staffspy-0.1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

staffspy-0.1.0-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page