Skip to content

Conversation

Ankit-06679
Copy link

@Ankit-06679 Ankit-06679 commented Oct 17, 2025

🐛 Problem

LinkedIn was returning HTTP 999 status codes for all profile requests, causing Sherlock to incorrectly classify all profiles as "Available" regardless of whether they actually existed.

🔧 Solution

  • Updated LinkedIn URL from linkedin.com/in/{} to www.linkedin.com/in/{}
  • Added errorCode: 999 to properly handle LinkedIn's anti-bot response
  • Fixed detection logic to differentiate between existing (HTTP 200) and non-existing (HTTP 999) profiles

✅ Testing

Verified with real LinkedIn profiles:

  • satyanadella (Microsoft CEO) - correctly detected as "Claimed"
  • reidhoffman (LinkedIn founder) - correctly detected as "Claimed"
  • jeffweiner08 (former LinkedIn CEO) - correctly detected as "Claimed"
  • nonexistentuser999999 - correctly detected as "Available"

📋 Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Hacktoberfest contribution

Fixes the LinkedIn detection issue mentioned in recent issues.

Fixes: #2652 (edited to add by @ppfeister)

- Updated LinkedIn URL to use www.linkedin.com/in/{}
- Added errorCode: 999 to handle LinkedIn's anti-bot response
- Fixed false negatives where existing profiles showed as Available
- Tested with real profiles: satyanadella, reidhoffman, jeffweiner08
- Resolves Hacktoberfest issue regarding LinkedIn detection failures

Fixes #[issue-number]
Copy link
Contributor

Automatic validation of changes

Target F+ Check F- Check
LinkedIn ✔️   Pass ✔️   Pass

@ppfeister
Copy link
Member

Crazy how easy that was and it just got overlooked. Appreciate the fix!

Having some others test real quick, but marking this as accepted in the meantime so you get credit while pending that additional validation.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LinkedIn detection no longer works due to blocked requests (Request Denied – HTTP 999)

2 participants