-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Threads #2225
feat: add Threads #2225
Conversation
sherlock/resources/data.json
Outdated
@@ -2736,6 +2736,13 @@ | |||
"urlMain": "https://www.svidbook.ru/", | |||
"username_claimed": "green" | |||
}, | |||
"threads": { | |||
"errorMsg": "Sorry, this page isn't available", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sherlock return false positives for Threads as it dynamically loads the string Sorry, this page isn't available
.
You can use the title as the error message as <title>Threads</title>
is shown for usernames that dont exists.
$ curl -s https://www.threads.net/@zuck | grep "<title>"
<title>Mark Zuckerberg (@zuck) on Threads</title>
$ curl -s https://www.threads.net/@ksjdfhkjsdhfks | grep "<title>"
<title>Threads</title>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason Threads returns <title>Threads</title>
on the username zuck
when executed through Sherlock. This will need some deeper digging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be the custom User-Agent; Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A request with either no headers or with at least the header; "Sec-Fetch-Mode": "navigate"
works
No description provided.