in reply to Re^9: Correct link to put in my WWW:Mechanize
in thread Correct link to put in my WWW:Mechanize
adjust this
use WWW::Mechanize (); my $mech = WWW::Mechanize->new(); $mech->get( $url ); # the address in your browser $mech->submit_form( form_name => 'search', # the form name in +the code fields => { query => 'pot of gold', }, # parameters button => 'Search Now' # button );
I'm AFK now, TTYL.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Correct link to put in my WWW:Mechanize
by Anonymous Monk on Mar 12, 2022 at 20:57 UTC | |
by LanX (Saint) on Mar 12, 2022 at 22:36 UTC |