Practical Tools
LinkedIn Post Scraper (no cookies)
4.0 (1)

LinkedIn Post Scraper (no cookies)

A robust Actor that extracts structured data from public LinkedIn posts, including author, text, images, videos, date and reactions.

Run on Apify

$0.004 per successful event (pay-per-event), only charged for the fixed price

LinkedIn Post Scraper - Apify Actor

A robust Apify Actor that extracts structured data from public LinkedIn posts, including author, text, images, videos, date, reactions, and comments.

Features

  • πŸ‘€ Author Extraction - Captures the post author's name
  • πŸ“ Text Extraction - Extracts the main post content
  • πŸ–ΌοΈ Image Extraction - Collects all image URLs from the post
  • πŸŽ₯ Video Support - Extracts video and embedded video URLs
  • πŸ“… Date Extraction - Gets the post's published date
  • πŸ‘ Reactions - Gathers reaction counts (like, celebrate, etc.)
  • πŸ’¬ Comments - Extracts all visible comments with author, text, and date
  • πŸš€ High Performance - Concurrent processing with configurable limits
  • 🌐 Proxy Support - Built-in Apify Proxy integration

Input

The Actor accepts the following input parameters:

{
  "urls": [
    "https://www.linkedin.com/posts/example_post_id"
  ],
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}

Parameters

Parameter Type Required Description
urls Array βœ… List of LinkedIn post URLs to scrape
maxConcurrency Int ❌ Max concurrent requests (default: 10)
proxyConfiguration Object ❌ Proxy configuration

Output

The Actor outputs a simple JSON object for each post:

{
  "author": "Jane Doe",
  "text": "Excited to announce our new product launch!",
  "images": [
    "https://media.licdn.com/dms/image/..."
  ],
  "videos": [
    "https://www.youtube.com/embed/..."
  ],
  "date": "2d",
  "reactions": {
    "like": 12,
    "celebrate": 3,
    "support": 1
  },
  "comments": [
    {
      "author": "John Smith",
      "text": "Congratulations!",
      "date": "1d"
    }
  ]
}

Notes

  • Only public LinkedIn posts are supported (no authentication required).
  • Output fields may be empty if not present in the post.
  • Selectors may require updates if LinkedIn changes their UI.
  • Scraping LinkedIn may be subject to their terms of service.

Usage

  1. Deploy this Actor on the Apify platform or run locally.
  2. Provide one or more public LinkedIn post URLs in the input.
  3. Retrieve structured post data as output.