AmputatorBot icon indicating copy to clipboard operation
AmputatorBot copied to clipboard

Novel false-positive behavior on Twitter links

Open dgw opened this issue 1 year ago • 0 comments

I have encountered AmputatorBot's API incorrectly returning a "canonical" link for a tweet from a user account ending in "amp":

input:   https://twitter.com/winamp/status/1791121664689725683
# at time of writing, this is a valid tweet
output:  https://twitter.com/winstatus/1791121664689725683
# Twitter in a browser says "Page not found", but the HTTP status is still 200 😡

This is similar to #10, but different enough (triggered by the path component of the link instead of a parameter) that I thought creating a new issue would be worthwhile. As a workaround, I believe it's safe enough to simply add Twitter to my project's default exclusion list.

dgw avatar May 16 '24 21:05 dgw