altmetric / embiggen

A Ruby library to expand shortened URLs
https://rubygems.org/gems/embiggen
MIT License
124 stars 6 forks source link

Update default shorteners list #19

Closed ascastro closed 8 years ago

ascastro commented 8 years ago

There were 2 shortener domains without extension. Removed the following domains:

This was causing domains like 'www.whale.to' to be matched with the domain regex.

jbilbo commented 8 years ago

This justifies a bugfix release.

mudge commented 8 years ago

.tk is genuinely a shortener where you can register a top-level domain to redirect to another URL.

I'm not sure about .to though which came from the (currently unavailable) LongURL list.

ascastro commented 8 years ago

Is the to the same as https://anon.to/ ? If it is, then we should add anon.to, rather than to.

I didn't know about the .tk one - sorry about that.

ascastro commented 8 years ago

I've also find this: http://bit.do/list-of-url-shorteners.php

And it looks like there's a u.to too.

mudge commented 8 years ago

Let's remove the bare .to and maybe update the list with any missing from http://bit.do/list-of-url-shorteners.php and http://www.hongkiat.com/blog/url-shortening-services-the-ultimate-list/?

ascastro commented 8 years ago

sure - on it!

ascastro commented 8 years ago

The list is now updated. I've also changed the commit message, to reflect the change.

jbilbo commented 8 years ago

@ascastro sorry, could you insert them in alphabetic order?

ascastro commented 8 years ago

@jbilbo done.