Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Jun 2, 2024
2 parents c3362c6 + f7c22f4 commit 84a88a0
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
**StaffSpy** is a staff scraper library for LinkedIn companies.
**StaffSpy** is a staff scraper library for LinkedIn.

## Features

- Scrapes all staff from a company on **LinkedIn**
- Scrapes staff from a company on **LinkedIn**
- Obtains skills, experiences, certifications & more
- Aggregates the employees in a Pandas DataFrame

### Installation
Expand All @@ -23,16 +24,17 @@ session_file = Path(__file__).resolve().parent / "session.pkl"

staff = scrape_staff(
company="openai",
session_file=session_file
session_file=session_file,
results_wanted=20,

# optional filters
# search_term="software engineer",
# location="Dallas, TX",
# results_wanted=20,
# num_threads=10
)
print(f"Found {len(staff)} staff")
print(staff.head())
staff.to_csv("jobs.csv", index=False)
staff.to_csv("staff.csv", index=False)
```
A browser will open to sign in to LinkedIn on the first sign-in. Press enter after signing in to begin scraping. Ctrl-c to stop scraping.

Expand Down Expand Up @@ -62,11 +64,23 @@ A browser will open to sign in to LinkedIn on the first sign-in. Press enter aft
```plaintext
Staff
├── id
├── name
├── username
├── about
├── skills
├── position
├── profile_id
├── first_name
├── last_name
├── company
├── school
├── location
├── followers
├── connections
├── premium
├── creator
├── influencer
├── skills
├── profile_link
├── profile_photo
├── experiences
│ ├── position
│ ├── company
Expand All @@ -89,7 +103,7 @@ Staff
---

**Q: Can I get my account banned?**
**A:** It is a possiblity, although there are no recorded incidents. Let me know if you are the first!
**A:** It is a possiblity, although there are no recorded incidents. Let me know if you are the first.

---

Expand Down

0 comments on commit 84a88a0

Please sign in to comment.