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

Feature: Add unshorten.me API key #298

Open
sm4rk0 opened this issue Dec 12, 2023 · 4 comments
Open

Feature: Add unshorten.me API key #298

sm4rk0 opened this issue Dec 12, 2023 · 4 comments
Labels
good first issue Good for newcomers

Comments

@sm4rk0
Copy link

sm4rk0 commented Dec 12, 2023

Hi and thank you for this helpful app!

I'd like to suggest adding the possibility to add our own unshorten.me API key because it looks like unshorten.me doesn't allow anonymous requests anymore:

curl https://unshorten.me/json/https://bit.ly/asd
{
    "requested_url": "https://bit.ly/asd",
    "success": false,
    "resolved_url": "",
    "error": "Authentication Error"
}

Thanks in advance!

@sm4rk0
Copy link
Author

sm4rk0 commented Dec 12, 2023

...another issue, on the unshorten.me side is that you can't register at the moment because you get Error 500 on submitting the signup form.

@TrianguloY
Copy link
Owner

Yup, it's currently broken, which is not good.

I'll also try to test other providers as suggested here #160 (comment)

@c24w
Copy link

c24w commented Dec 12, 2023

Does a third party service provide more functionality than making a request directly to the URL and reading the Location response header?

Edit: I think I see the difference. Only HTTP redirects which are masking the real destination should be unwrapped; others, like redirects to a log in page, shouldn't. Still, it could be a simpler option.

@itssoap
Copy link

itssoap commented Jan 12, 2024

Adding to the comment made by @/c24w, I use the Check Status button in the "Status code" module. If they are not resolved by this:

  1. SmartSelect_20240112_163018_Termux.jpg

A simple location grab from curl will work

  1. For complex shorteners which have ads enabled and requires multiple clicks (ex. adf.ly, ouo.io), FastForward extension works pretty well:

https://fastforward.team/bypass-checker

But I don't think their database is public

@TrianguloY TrianguloY added the good first issue Good for newcomers label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants