good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Perl script to login into one url and again need to use the urlby Corion (Patriarch) |
on Aug 23, 2017 at 10:42 UTC ( [id://1197864]=note: print w/replies, xml ) | Need Help?? |
I think you will likely have more success using WWW::Mechanize, as it bundles usual browser behaviour in a more compact way than using LWP::UserAgent directly. For web automation, you will have to understand how HTML and HTTP interact. Logging into a website is usually done through a HTML form. You submit that form with the needed values. WWW::Mechanize has the ->submit_form method for that.
In Section
Seekers of Perl Wisdom
|
|