Skip to content

v0.4.1 — Cookie → Profile conversion (30-sec bootstrap)

Choose a tag to compare

@horizonbymuneeb horizonbymuneeb released this 18 Jun 15:14

🎉 Build a persistent profile from a single li_at cookie in 30 seconds

The most user-friendly way to bootstrap linkedin-mcp-pro. If you already
have a working li_at cookie (from DevTools), this script turns it into
a self-updating session profile that lasts 6-12 months.

echo "LI_AT=AQED..." | sudo tee /etc/linkedin-mcp-pro/li_at > /dev/null
python3 scripts/cookie_to_profile.py
# → 18 LinkedIn cookies captured in state.json
# → from now on, post_with_stealth.py auto-uses the profile

What's new

  • scripts/cookie_to_profile.py — the quick path
  • Profile detection now supports both state.json AND Default/Cookies layouts
  • --check flag in use_profile_session.py no longer accidentally posts
  • Fixed PermissionError crash on root-only cookie files

Why state.json instead of persistent context?

During testing we discovered a Playwright quirk: launch_persistent_context
doesn't reliably persist HttpOnly cookies to the on-disk Cookies DB.
The li_at cookie would go missing on next launch. storage_state.json is
the official Playwright API for session persistence and works correctly
with HttpOnly cookies.

Migration from v0.4.0

Nothing required. The new script is additive. Existing users with a
working Default/Cookies profile continue to work unchanged.

Full release notes: see CHANGELOG.md