Hello Monks,
I was wondering, does Mechanize::Firefox work with flash pages? I need to get a file that is accessed by embedded flash..
Here is my code:
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);
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:
Not Found at crawl.pl line 27.
Any insight is greatly appreciated!