Skip to content

Releases: Softorize/linked

v0.2.0 — Multi-Account Support

Choose a tag to compare

@GrigoriLab GrigoriLab released this 05 Feb 22:15
6fc7248

What's New

Multi-Account Support

Manage multiple LinkedIn accounts and switch between them seamlessly.

New global flag:

linked --account personal whoami
linked -a work feed

New account command:

linked account add personal --li-at <token> --jsessionid <token>
linked account add work --li-at <token> --jsessionid <token> --default
linked account list
linked account default personal
linked account remove work
linked account migrate              # migrate legacy flat config to named account
linked account whoami               # verify active account credentials

Config format (backward compatible):

{
  // Legacy flat fields still work
  li_at: "...", jsessionid: "...",
  // New multi-account
  accounts: {
    personal: { li_at: "...", jsessionid: "...", cookieSource: "safari" },
    company: { li_at: "...", jsessionid: "..." }
  },
  defaultAccount: "personal"
}

Credential resolution priority:

  1. Explicit cookies (programmatic API)
  2. Environment variables
  3. Named account (--account flag → default account)
  4. Legacy flat config credentials
  5. Browser cookie extraction

Highlights

  • Zero changes required to existing commands — account selection is transparent
  • Full backward compatibility with existing single-account configurations
  • Account name validation (alphanumeric, hyphens, underscores)
  • Helpful error messages when account not found (lists available accounts)
  • 27 new unit tests covering all account functionality

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.1 — Anti-Bot Detection Improvements

Choose a tag to compare

@GrigoriLab GrigoriLab released this 05 Feb 22:59

What's Changed

Anti-Bot Detection Improvements

  • Updated User-Agent: Chrome version bumped from 120.x to 132.x to match current browser fingerprints
  • Extended cookie set: Now includes li_mc, bcookie, and bscookie alongside li_at/JSESSIONID for more authentic request headers
  • Browser cookie extraction: Safari, Chrome, and Firefox extractors now capture all 5 cookies automatically
  • Request delay: Configurable delayMs setting adds random jitter between API requests to avoid rate limiting
  • New CLI options: account add now supports --li-mc, --bcookie, and --bscookie flags

Configuration

Add delayMs to your config to enable request throttling:

{
  delayMs: 2000  // base delay of 2s + random 0-2s jitter per request
}

Extra cookies are extracted automatically from browsers. For manual config:

{
  accounts: {
    main: {
      li_at: "...",
      jsessionid: "...",
      li_mc: "...",      // optional
      bcookie: "...",    // optional
      bscookie: "...",   // optional
    }
  }
}

Full Changelog: v0.1.0...v0.1.1

What's Changed

Full Changelog: v0.2.0...v0.1.1

What's Changed

Full Changelog: v0.2.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 05 Feb 22:00