capabilities

Linkedin Profile Post Scraper

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.

Gooseby Athina AI
Run in Gooseworks
Install
Terminal
npx gooseworks install --claude

# Then in your agent:
/gooseworks <prompt> --skill linkedin-profile-post-scraper
About This Skill

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.

# 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

FlagDefaultDescription
--profilesrequiredLinkedIn profile URL(s), comma-separated
--max-posts20Max posts to scrape per profile
--keywordsnoneKeywords to filter (comma-separated, OR logic)
--days30Only include posts from last N days
--outputjsonOutput format: json or summary
--tokenenv varApify token (prefer APIFY_API_TOKEN env var)
--timeout300Max 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)

What's included

·
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)

Newsletter

Learn to build GTM systems with AI

2-3 compounding systems per week using Claude Code, OpenClaw, and more.