PerlSufi has asked for the wisdom of the Perl Monks concerning the following question:
The get url at the last line is what I was shown in HTTP Live Headers when I tried to download the file manually. The output is:my $mech = WWW::Mechanize::Firefox->new(); $mech->allow(frames => 1); $mech->get('https://loginpage.com'); #$mech->dump_text; $mech->form_name('loginform'); $mech->field('email' => 'me@awesome.com'); $mech->field('password' => '$pw'); $mech->click_button(name => 'login'); $mech->get('https://path/to/file.rar);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mechanize::Firefox and Flash
by Anonymous Monk on Jun 27, 2013 at 00:30 UTC | |
by PerlSufi (Friar) on Jun 27, 2013 at 14:07 UTC |