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

Block invalid Twitter usernames #55

Closed
JustAnotherArchivist opened this issue Nov 17, 2019 · 0 comments
Closed

Block invalid Twitter usernames #55

JustAnotherArchivist opened this issue Nov 17, 2019 · 0 comments
Labels
enhancement New feature or request module:twitter

Comments

@JustAnotherArchivist
Copy link
Owner

Yes, yet another bug in Twitter's search. This time, it involves invalid usernames that look like domains. For example, https://twitter.com/search?q=from:archiveteam.org returns various Tweets containing links to archiveteam.org, which contradicts the search documentation (hidden behind "operators" on search-home). An account with the username archiveteam.org does not exist, so that search should not return any results. In fact, such an account can't exist: Twitter usernames must match [A-Za-z0-9_]{1,15} per Twitter's help page.

Because this unexpectedly produces tweets e.g. on snscrape twitter-user archiveteam.org, snscrape should directly block such invalid usernames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:twitter
Projects
None yet
Development

No branches or pull requests

1 participant