Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Reveal shortened URLs Perl script

henrick

Extended Member
Ext. Member
Joined
Feb 1, 2020
Messages
6
Reaction score
15
Points
11
Location
Chicago
Piggybacking on irlam's earlier post about a web site that can take a shortened URL like bit.ly/2OjnNe8 and expand it, I wrote a little Perl script that does this on the command line, without having to do all of the clicking and dealing with the google ads/cookies running in the background for each request.

Interaction with the script produces the following concise output:

PHP:
Enter short URL ('q' to quit): bit.ly/2OjnNe8

Actual expanded URL: http://www.google.com/
Spam detected by: 0/44 services
Request processing delay (as reported by check-user-api.herokuapp.com): 46 ms

If there is interest in this via Likes, I was thinking of adding additional features to it like automation such as for example reading a list of short URLs from a file and outputting multiple expansions automatically, etc... If there is a boat-load of interested, I could even write a GUI version with a button that does all of this using C#/WPF, but that would take me longer of course.

Without further ado, here is Version 1.0 of this Perl script (should work on Windows/Linux/Mac):

 
Last edited:

Ian

¯\_(ツ)_/¯
Advertiser
Ext. Member
Joined
Jan 19, 2020
Messages
556
Reaction score
2,974
Points
104
Location
Liverpool
Website
nwgroup.net
This is really nice man, this would be great if put into a Chrome extension or something similar which automatically ran short-urls through the script.
Know what I mean? So we didn't have too put energy into it and get rid of the effort and spam.

Great share nonetheless!
 
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock