fix(linkedin): normalize timeline text#1726
Closed
gauravsaxena1997 wants to merge 1 commit into
Closed
Conversation
jackwener
added a commit
that referenced
this pull request
May 23, 2026
Owner
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The existing LinkedIn timeline adapter can return noisy post text because LinkedIn activity cards repeat author/headline/timestamp fragments inside the same visible card. That makes the command harder for agents to consume when they only need clean post text and stable counters.
This PR tightens the extraction while preserving the existing command surface.
What this PR does
Updates the existing
Strategy.COOKIELinkedIn browser adapter:Implementation details:
Live verification
Verified against a logged-in LinkedIn profile session. Timeline rows returned cleaner visible activity text while preserving reaction/comment/repost counters.
Checklist
npm run buildnpx vitest run --project adapter clis/linkedin/timeline.test.jsnpm run typechecknode scripts/check-typed-error-lint.mjsnode scripts/check-silent-column-drop.mjs