Conversation
|
@venkatesh2100 Thanks for the PR, it looks clean and well structured. However, when I tested it locally, it always returned a If we’re able to discover an undocumented or private API that LinkedIn uses for username availability checks, then this could be made to work. If you’re interested in exploring that (it’s a little advanced task), feel free to keep the PR open and push further commits if you find a solution. Otherwise, you’re welcome to pick up any of the |
|
Hey @venkatesh2100, I found a way around the 999 block. LinkedIn whitelists social media crawler bots (Twitter, Facebook, Bing) for link preview generation. Using the This makes the module a simple I opened #264 with this approach. The module is ~15 lines and has been tested across existing profiles, non-existing ones, case sensitivity, hyphens, and edge cases. |
The validator:
Requests the public profile URL: https://www.linkedin.com/in/{username}/
Does not follow redirects to avoid triggering additional anti-bot checks
Common block responses include status 999, 403, and 429
Result.error("blocked (linkedin)") is returned intentionally when LinkedIn blocks or rate-limits the request.