Skip to content
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

Merged
merged 6 commits into from
Aug 11, 2024
Merged

feat: add Threads #2225

merged 6 commits into from
Aug 11, 2024

Conversation

Netail
Copy link
Contributor

@Netail Netail commented Jul 8, 2024

No description provided.

@@ -2736,6 +2736,13 @@
"urlMain": "https://www.svidbook.ru/",
"username_claimed": "green"
},
"threads": {
"errorMsg": "Sorry, this page isn't available",
Copy link
Member

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 (&#064;zuck) on Threads</title>

$ curl -s https://www.threads.net/@ksjdfhkjsdhfks | grep "<title>"
<title>Threads</title>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied :)

Copy link
Member

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

Copy link
Contributor Author

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...

Copy link
Contributor Author

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

@sdushantha sdushantha merged commit 7b2076c into sherlock-project:master Aug 11, 2024
16 checks passed
@Netail Netail deleted the feat/threads branch August 11, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Requesting support for: Adding https://www.threads.net as a new site
3 participants