jackwener / jackwener/OpenCLI

[Bug] linkedin profile-experience: title/company/description columns mis-mapped on v1.8.7 (raw_text is correct)

Open
#2,433 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29.5k
Forks
2.9k
Avg merge
15h 36m
Merged PRs (30d)
70

Description

Description

opencli linkedin profile-experience --profile-url <handle> -f json (v1.8.7) returns the right number of entries and a correct raw_text, but the structured columns are shifted by one line of LinkedIn's card:

{
  "rank": 1,
  "title": "Full-time · 4 yrs 9 mos",          // <- this is the employment-type/duration line
  "employment_type": "",
  "company": "UX Designer II at Microsoft AI",  // <- this is the title line
  "date_range": "Sep 2022 - Present",
  "location": "Redmond, Washington, United States",
  "location_type": "Hybrid",
  "raw_text": "Full-time · 4 yrs 9 mos UX Designer II at Microsoft AI Sep 2022 - Present · 4 yrs Redmond, Washington, United States · Hybrid"
}

For the grouped-company layout (one company, several roles) the second entry gets title = the previous role's description line and description = "City, State Company Contract · 1 yr 7 mos".

Looks like LinkedIn's grouped experience card (company header + nested roles) is being parsed with the flat-card line order. raw_text is fully usable, so this is a mapping issue, not an extraction issue.

Repro

opencli linkedin profile-experience --profile-url https://www.linkedin.com/in/<handle with a grouped company entry>/ -f json

Environment

opencli 1.8.7 (npm), macOS 25.6, Chrome extension v1.0.23, node 26.7.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the linkedin profile-experience command and its structured-field mapping for grouped company cards; reproduce the supplied command with a grouped company entry and compare the parsed columns with raw_text. Done means title, employment_type, company, date_range, location, location_type, and description align with their corresponding card lines for both flat and grouped layouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.