https://austinangck2809.blogspot.com/2013/12/how-to-automatically-shrink-url-of.html