Snoop can be used to expand shortened Links such as those from bit.ly etc.. right from your terminal
$ sudo apt install git
$ git clone https://github.com/SxNade/Snoop
$ cd Snoop
$ chmod +x Snoop
$ ./Snoop
Feeding Links from terminal
$ ./snoop <url-1> <url-2> <url-3> ........<url-n>
$ ./snoop --file <links file>