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.
76
95%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Scrape recent posts from specific LinkedIn profiles using the Apify harvestapi/linkedin-profile-posts actor.
Requires APIFY_API_TOKEN env var (or --token flag). Install dependency: pip install requests.
# 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| 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 |
~$2 per 1,000 posts scraped. The script prints a cost estimate before running.
postedAt/postedDatehttps://www.linkedin.com/in/username)8866b2a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.