in reply to WWW::Mechanize - Wait until redirected page returned
package My::Mech; # My::Mech is a subclass of WWW::Mechanize use base qw(WWW::Mechanize); # always allow redirects, irrespective of # request_redirectable sub redirect_ok { return 1; }
However, your bank's website might use META tags or javascript for "redirects". If so, you have to do the redirection yourself. Depending on the exact format of the page, you could get away with a simple regex, or maybe you need an HTML::Parser to find the redirection URL.
|
|---|