The function of the short URL restoration (UnshortURL) program is to restore these short URLs to their original appearance. The current short URL service is blooming everywhere. While it facilitates communication among Weibo users, it also brings some hidden dangers. Because the short URL only transforms the URL into another shorter URL, regardless of whether the original URL contains viruses or contains unhealthy content, or is a recommended link with an annoying little tail.
Supports the restoration of various currently popular short URLs, such as: goo.gl, t.cn, url.cn, bit.ly, etc.
The principle is quite simple, which is to obtain the location information of the HTTP header through curl, and make three necessary judgments to make the user experience better.
System requirements: Enable PHP Curl.
Short URL restoration v1.9 update content: 1. Support adf.ly short URL restoration. At this point, more than 300 domestic and foreign short URLs can be restored;
2. Optimize some other details.
This program is originally created by Ali (Ali727) and kept updated! Free and open source!
Expand