lazybowel has asked for the wisdom of the Perl Monks concerning the following question:

i have a problem when trying to log into blogger with mechanize, there was a similar thread but there was no solution there so i decided to post.
so basically using mech i submit the username and password then it checks the cookies and goes to this page and just gets stuck there...

<html> <head> <title> Redirecting </title> <meta content="0; url='http://www.blogger.com/loginz?d=http%3A%2F%2Fww +w.blogger.com%2Fcreate-blog.g&amp;auth=DQAAAGUAAADkJxsjIaju3-SRcZjBhD +7eA1Mbq9FYj6kIdHoUToqTf8JWc6-kJdNsCjOlIv4QaKUm6FrGRQyl5i_psDijN3VAmFi +yGrLKuIDxJQ1Xij1uaXbd6VOUDgtb_DLTauey9CiZGVmrXZ-3slH_wC12poj7'" http- +equiv="refresh"> </head> <body alink="#ff0000" text="#000000" vlink="#551a8b" link="#00 +00cc" bgcolor="#ffffff"> <script type="text/javascript" language="jav +ascript"> <!-- location.replace("http://www.blogger.com/loginz?d\u003dhttp%3A +%2F%2Fwww.blogger.com%2Fcreate-blog.g&auth\u003dDQAAAGUAAADkJxsjIaju3 +-SRcZjBhD7eA1Mbq9FYj6kIdHoUToqTf8JWc6-kJdNsCjOlIv4QaKUm6FrGRQyl5i_psD +ijN3VAmFiyGrLKuIDxJQ1Xij1uaXbd6VOUDgtb_DLTauey9CiZGVmrXZ-3slH_wC12poj +7") //--> </script> </body> </html>


it is suppose to redirect you to http://www.blogger.com/home. so my question is how can i get mech to follow that redirect to the home page

Replies are listed 'Best First'.
Re: mechanize and redirect
by Anonymous Monk on Jun 24, 2007 at 00:47 UTC
Re: mechanize and redirect
by Anonymous Monk on Jun 24, 2007 at 00:48 UTC
      i got it to work now thank you