Re: How to get final URL after redirection

2014-04-27 Thread ranasaani
Hi Nsihant, I need your help, can I get your email address? -- https://mail.python.org/mailman/listinfo/python-list

Re: How to get final URL after redirection

2014-04-27 Thread Joel Goldstick
Huh? His email is in his post On Apr 27, 2014 11:45 AM, ranasa...@gmail.com wrote: Hi Nsihant, I need your help, can I get your email address? -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: How to get final URL after redirection

2014-04-27 Thread Rana Muhammad Usman
Not visible to me, can you tell me please? On Sun, Apr 27, 2014 at 8:55 PM, Joel Goldstick joel.goldst...@gmail.comwrote: Huh? His email is in his post On Apr 27, 2014 11:45 AM, ranasa...@gmail.com wrote: Hi Nsihant, I need your help, can I get your email address? --

Re: How to get final URL after redirection

2014-04-27 Thread Denis McMahon
On Sun, 27 Apr 2014 22:41:57 +0500, Rana Muhammad Usman wrote: On Sun, Apr 27, 2014 at 8:55 PM, Joel Goldstick joel.goldst...@gmail.comwrote: ranasa...@gmail.com wrote: Hi Nsihant, I need your help, can I get your email address? Huh? His email is in his post On Apr 27, 2014 11:45 AM,

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 and

Re: How to get final URL after redirection

2013-10-31 Thread Andreas Perstinger
nishant bhakta bhaktanish...@gmail.com wrote: 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

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

Re: How to get final URL after redirection

2013-10-31 Thread Roy Smith
On Thursday, October 31, 2013 2:10:35 PM UTC-4, nishant bhakta wrote: I was only giving an example as bitly, actually i need to proceed with http://www.mysmartprice.com/out/sendtostore.php?id=107120529top_category=electronicsstore=amazonmspid=51889category=computerrk=30; this is the link

Re: How to get final URL after redirection

2013-10-31 Thread Joel Goldstick
On Thu, Oct 31, 2013 at 2:33 PM, Roy Smith r...@panix.com wrote: On Thursday, October 31, 2013 2:10:35 PM UTC-4, nishant bhakta wrote: I was only giving an example as bitly, actually i need to proceed with

Re: How to get final URL after redirection

2013-10-31 Thread Roy Smith
On Oct 31, 2013, at 2:43 PM, Joel Goldstick wrote: The normal way a redirect is done is to return a 301 (or 302) status code, and include a Location: line in the HTTP response headers. If that was the case, you would just do a GET on the url with a library like requests and examine the