lmammino / tall

Promise-based, No-dependency URL unshortner (expander) module for Node.js
https://lmammino.github.io/tall/
MIT License
72 stars 7 forks source link

Feature request: Detect whether returned URL is final URL or another short URL #2

Closed phocks closed 6 years ago

phocks commented 6 years ago

Often times the tall URL is a link to another URL shortening service. It would be good to be able to return the conclusive final URL.

lmammino commented 6 years ago

Hi @phocks! First of all, thanks for trying this library.

This is definitely a good idea. I am a bit concerned about the possibility to do too many requests (redirects) but I'll see if there's some easy way around it.

lmammino commented 6 years ago

This is now done in v2.0.0. Let me know if it works for you :)

phocks commented 6 years ago

Brilliant! Thanks so much. I will give it a go!