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
Release history Release notifications | RSS feed
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)