joshuatz / linkedin-to-jsonresume

Browser extension to turn a LinkedIn profile page into a JSON Resume export.
https://joshuatz.com/projects/web-stuff/linkedin-profile-to-json-resume-exporter/
MIT License
238 stars 59 forks source link

Languages return one more entry then Linkedin UI shows #61

Open fkrauthan opened 2 years ago

fkrauthan commented 2 years ago

Describe the issue When looking on Linkedin I have two languages in the Languages section (German and English). But when downloading the JSON profile I get 3 languages (English is duplicated. I assume it has something todo with manual provided languages vs my profile language as one English was auto added as Native Speaker)

Help me reproduce your issue Add one language (the same as your profile one with different level) and add an additional language. After that export the JSON.

Additional context This is not very important for me personally just thought I report it.

joshuatz commented 2 years ago

@fkrauthan I was aware of this when I implemented #59, in 35cba20f57994fc0c842d4e7104d28dce19cfb76 - I probably should have documented it.

Unfortunately, I don't really know a "clean" way around this, not without explicit knowledge of private LinkedIn internals. Your guess as to the root of the issue is correct; there are two ways users can indicate languages - one is as the profile level, and the other, like you said, are the manual fields.

In the case that the user has manually provided languages, de-duplicating them across the default profile level languages is rather difficult:

I think what I will do is: