Skip to content

Commit dc86985

Browse files
committed
fix(sites): Fix Threads false positive detection
Threads was showing false positives for non-existent users because the error message detection was incorrect. Updated errorMsg: - Old: "<title>Threads</title>" (generic, matches valid pages too) - New: "<title>Threads • Log in</title>" (specific to non-existent users) When a user doesn't exist, Threads redirects to a login page with the title "Threads • Log in". Valid user profiles have titles like "Username (@username) • Threads, Say more". Tested with: - Invalid user (impossibleuser12345): Correctly not found - Valid user (zuck): Correctly found This fixes the false positive issue where non-existent Threads profiles were being reported as found.
1 parent 1d2c4b1 commit dc86985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sherlock_project/resources/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2820,7 +2820,7 @@
28202820
"username_claimed": "green"
28212821
},
28222822
"threads": {
2823-
"errorMsg": "<title>Threads</title>",
2823+
"errorMsg": "<title>Threads • Log in</title>",
28242824
"errorType": "message",
28252825
"headers": {
28262826
"Sec-Fetch-Mode": "navigate"

0 commit comments

Comments
 (0)