LinkedIn activity scraper
<- back to stuff i built
research tool

LinkedIn activity scraper

A Chrome extension that collects posts, comments, and reactions from many public LinkedIn profiles and exports them as CSV or JSON.

tldr

A browser-only LinkedIn research extension that queues profile URLs, scrapes public activity through the DOM, shows progress, and exports structured results without a backend.

the problem

Collecting activity across many profiles is repetitive and easy to lose track of. A local browser workflow can automate the repetition while keeping the data and session inside the user's browser.

what it is

A Chrome extension that collects posts, comments, and reactions from many public LinkedIn profiles and exports them as CSV or JSON.

why it is useful

It turns a repetitive browser research task into a repeatable local workflow without needing LinkedIn API access.

architecture

A Manifest V3 extension uses a popup for inputs, a service worker as the queue orchestrator, injected content scripts for DOM parsing and scrolling, a progress tab for live state, and `chrome.storage.local` as the shared state layer.

how it works

  1. The user uploads or pastes profile URLs into the popup.
  2. The service worker deduplicates the queue and processes one profile at a time.
  3. Content scripts scroll and parse public posts, comments, and reactions from the LinkedIn DOM.
  4. Progress is persisted locally and the final dataset is exported as CSV or JSON.

implementation notes

  • Accepts profile URLs from uploaded CSV or text files and deduplicates them.
  • Scrapes recent posts, comments, and reactions one profile at a time.
  • Uses redundant selectors and two-layer deduplication to survive LinkedIn markup changes.
  • Exports results entirely in the browser with no server, build step, or third-party API.

engineering decisions

  • Uses redundant selectors and two-layer deduplication because LinkedIn markup changes over time.
  • Keeps the extension backend-free: no user data needs to leave the browser.
  • Uses the service worker as an explicit queue orchestrator instead of coupling scraping to popup lifetime.

stack

Chrome Extension MV3JavaScriptchrome.scriptingchrome.storage.localLinkedIn DOM