yusy has asked for the wisdom of the Perl Monks concerning the following question:
use WWW::Mechanize; $username = "xxxx"; $password = "xxxx"; my $mech = WWW::Mechanize->new(); $mech->cookie_jar(HTTP::Cookies->new()); $mech->get( "https://sample" ); $mech->submit_form( form_name => "login", fields => { j_username => $username, j_password => $password}, ); $mech->submit(); $mech->save_content( "xxx.html" ); end;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to follow the redirected web pages?
by olus (Curate) on Mar 13, 2008 at 16:59 UTC | |
|
Re: how to follow the redirected web pages?
by moritz (Cardinal) on Mar 13, 2008 at 17:13 UTC | |
by yusy (Acolyte) on Mar 13, 2008 at 17:40 UTC | |
by Anonymous Monk on Mar 14, 2008 at 03:32 UTC |