Skip to content

Fix key errors on short names#76

Merged
initstring merged 1 commit into
masterfrom
name-keyerrors
Nov 28, 2023
Merged

Fix key errors on short names#76
initstring merged 1 commit into
masterfrom
name-keyerrors

Conversation

@initstring
Copy link
Copy Markdown
Owner

The new GraphQL API returns full names only, and some of them were breaking previous logic. This was raised here: #75 by @pwnf (thanks)!

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

I think this fixes the problem.

@initstring
Copy link
Copy Markdown
Owner Author

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

@initstring initstring merged commit 31608d2 into master Nov 28, 2023
@pwnf
Copy link
Copy Markdown

pwnf commented Nov 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants