initstring / linkedin2username

OSINT Tool: Generate username lists for companies on LinkedIn
MIT License
1.25k stars 185 forks source link

Fix key errors on short names #76

Closed initstring closed 10 months ago

initstring commented 10 months ago

The new GraphQL API returns full names only, and some of them were breaking previous logic. This was raised here: https://github.com/initstring/linkedin2username/pull/75 by @pwnf (thanks)!

This PR adds a check to discard single-word names before being mutated.

I think this fixes the problem.

initstring commented 10 months ago

I'm crossing my fingers and merging. This should fix the issue, but I'll help troubleshoot any new open issues.

pwnf commented 10 months ago

Tested this morning without making any changes to my system from yesterday and this fix appears to be working. I am guessing there may have been a problem with the VPN I was using and or LinkedIn didn't like my continuous scraping.. Thanks for the PR.