Skip to content
Back to skills

Linkedin Profile Post Scraper

ASecurity

Scrape recent posts from LinkedIn profiles using Apify. Use when you need to monitor what specific people are posting on LinkedIn, track founder/exec activity, or gather LinkedIn content for competitive intelligence.

  • 1,232 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 4, 2026
ai-agentspythonbashapi

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add gooseworks-ai/goose-skills --skill linkedin-profile-post-scraper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Linkedin Profile Post Scraper?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Linkedin Profile Post Scraper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gooseworks-ai-linkedin-profile-post-scraper-goose-skills/badge)](https://www.skillsdirectory.com/skills/gooseworks-ai-linkedin-profile-post-scraper-goose-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: linkedin-profile-post-scraper
description: >
  Scrape recent posts from LinkedIn profiles using Apify. Use when you need to
  monitor what specific people are posting on LinkedIn, track founder/exec activity,
  or gather LinkedIn content for competitive intelligence.
---

# LinkedIn Profile Post Scraper

Scrape recent posts from specific LinkedIn profiles using the Apify `harvestapi/linkedin-profile-posts` actor.

## Quick Start

Requires `APIFY_API_TOKEN` env var (or `--token` flag). Install dependency: `pip install requests`.

```bash
# Scrape recent posts from a profile
python3 skills/linkedin-profile-post-scraper/scripts/scrape_linkedin_posts.py \
  --profiles "https://www.linkedin.com/in/marcelsantilli" --max-posts 10

# Multiple profiles with keyword filtering
python3 skills/linkedin-profile-post-scraper/scripts/scrape_linkedin_posts.py \
  --profiles "https://www.linkedin.com/in/person1,https://www.linkedin.com/in/person2" \
  --keywords "AI,growth" --days 30

# Summary table
python3 skills/linkedin-profile-post-scraper/scripts/scrape_linkedin_posts.py \
  --profiles "https://www.linkedin.com/in/marcelsantilli" --output summary
```

## CLI Reference

| Flag | Default | Description |
|------|---------|-------------|
| `--profiles` | *required* | LinkedIn profile URL(s), comma-separated |
| `--max-posts` | 20 | Max posts to scrape per profile |
| `--keywords` | none | Keywords to filter (comma-separated, OR logic) |
| `--days` | 30 | Only include posts from last N days |
| `--output` | json | Output format: `json` or `summary` |
| `--token` | env var | Apify token (prefer `APIFY_API_TOKEN` env var) |
| `--timeout` | 300 | Max seconds to wait for the Apify run |

## Cost

~$2 per 1,000 posts scraped. The script prints a cost estimate before running.

## Notes

- No native date filtering — dates are filtered client-side on `postedAt`/`postedDate`
- Profile URLs must be full LinkedIn URLs (e.g. `https://www.linkedin.com/in/username`)

Files in this skill

  • SKILL.md1.9 KB
  • scripts/scrape_linkedin_posts.py9.3 KB
  • skill.meta.json281 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…