I need the final url location e.g. I want to scrape following url A: http://bit.ly/1TcDGBI this redirects to B: https://medium.com/@jamnopeanut/facing-three-months-in-rikers-for-climbs-on-statue-while-protesting-police-murder-85dd5062523a#.l3qaty8r5 So I need this unshortened url `B`. How can I get it?