[Bug] linkedin profile-experience: title/company/description columns mis-mapped on v1.8.7 (raw_text is correct)
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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