Skip to content

Commit 25ea5a9

Browse files
committed
fix(sites): Remediate false positive for Spotify
- Changed errorType from 'status_code' to 'message' - Added errorMsg check for 'Page not found' - Updated username_claimed to 'spotify' (verified working) Spotify returns HTTP 200 for both valid and invalid users, then shows 'Page not found' in the HTML for non-existent profiles. The previous status_code check caused false positives. Tested with: - Non-existent user: Correctly returns NOT FOUND - Real user 'spotify': Correctly returns FOUND - Verified against username_claimed Fixes: #2547
1 parent 184470f commit 25ea5a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sherlock_project/resources/data.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,10 +2273,11 @@
22732273
"username_claimed": "blue"
22742274
},
22752275
"Spotify": {
2276-
"errorType": "status_code",
2276+
"errorMsg": "Page not found",
2277+
"errorType": "message",
22772278
"url": "https://open.spotify.com/user/{}",
22782279
"urlMain": "https://open.spotify.com/",
2279-
"username_claimed": "blue"
2280+
"username_claimed": "spotify"
22802281
},
22812282
"Star Citizen": {
22822283
"errorMsg": "404",

0 commit comments

Comments
 (0)