Closed initstring closed 10 months ago
I'm crossing my fingers and merging. This should fix the issue, but I'll help troubleshoot any new open issues.
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.
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.