feat(linkedin): read job preferences and details#1723
Closed
gauravsaxena1997 wants to merge 1 commit into
Closed
Conversation
d5ed9cc to
db98a94
Compare
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
LinkedIn Jobs exposes useful job-search state in the authenticated browser UI, but OpenCLI does not currently have read commands for job preferences or individual job detail pages. That makes it hard for agents to verify what roles, locations, alerts, and job descriptions are actually visible before drafting next actions.
This PR adds read-only commands for those job-search surfaces.
What this PR does
Adds two
Strategy.COOKIELinkedIn browser adapters:Implementation details:
jobs-preferencesreads visible Open To Work/job preference state, job titles, locations, alert settings, and raw preference text from the Jobs pagejob-detailnormalizes/jobs/view/<id>URLs to the logged-in job search detail surface and extracts title, company, location, workplace type, job type, applicants, listed age, apply URL, company URL, and full rendered descriptionjob-detailcombines LinkedIn inline metadata with rendered DOM description extraction so the command does not return an empty description when metadata is incompleteLive verification
Verified against a logged-in LinkedIn session:
jobs-preferencesreturned active Open To Work/job preference and alert information visible on the Jobs pagejob-detailreturned a full description for a remote RED Global AI/full-stack role where the previous extraction path returned an empty descriptionChecklist
npm run buildnpx vitest run --project adapter clis/linkedin/job-detail.test.js clis/linkedin/jobs-preferences.test.jsnpm run typechecknode scripts/check-typed-error-lint.mjsnode scripts/check-silent-column-drop.mjs