How to get final URL after redirection

2013-10-31 Thread nishant bhakta
I have a link that will redirect to any-other link and i have to work with that final link. For example if i have a link "www.bit.ly/2V6CFi" that will redirect to "www.google.com". Here i want that i take "www.bit.ly/2V6CFi" and find the final redirect link and append "#q=python" to that link an

Re: How to get final URL after redirection

2013-10-31 Thread nishant bhakta
> There is a python module for interacting with it: > > https://github.com/bitly/bitly-api-python > > > > Bye, Andreas I was only giving an example as bitly, actually i need to proceed with "http://www.mysmartprice.com/out/sendtostore.php?id=107120529&top_category=electronics&store=amazon&msp