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);
In reply to Mechanize::Firefox and Flash by PerlSufi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |