waiterm has asked for the wisdom of the Perl Monks concerning the following question:
This doesn't work because the button is disguised as a clickable image. Have also tried:$url = 'http://www.statistics.gov.uk/STATBASE/tsdataset.asp?vlnk=7174' +; $mech = WWW::Mechanize->new(); $mech->agent_alias( 'Windows IE 6' ); $mech->get($url); $mech->click(B3,1,1); $_ = $mech->content(); print $_;
And i tried a couple of other things. I've also tried chaing the referer, and alias, neither work, I also tried cacthing the cookie in a cookie jar without success. If it is a cookie problem, why is Perl not caching this automatically for me? I would really appreciate some help on this as it's driving me completely crazy. Please email rob@hostpipe.co.uk with suggestions as am having trouble typing tonight, damaged hand playing rugby...oops!$mech->submit_form( form_name => 'form1', );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize issues, possibly cookie problem
by PodMaster (Abbot) on Sep 28, 2004 at 22:24 UTC |