in reply to Need to monitor a website that has a login
Having posted a few comments on the same in perlmonks,
i'd advice to use Super Search.
However, there are many modules which you can use for the purpose
You can also use WWW::Mechanize module, LWP also works, though i've not tried it
Update::::
the code was for basic authentication (htaccess) and not for filling the form on the website.
If you want to fill in form to login, then you can also use Win32::IEAutomation.
i'd advice to use Super Search.
However, there are many modules which you can use for the purpose
That'd be one way of doing ituse Win32::IE::Mechanize; #other code, url, user, password etc. my $agent = Win32::IE::Mechanize->new(visible=>1); $agent->credentials($url,$user,$pass); $agent->get($url);
You can also use WWW::Mechanize module, LWP also works, though i've not tried it
Update::::
the code was for basic authentication (htaccess) and not for filling the form on the website.
If you want to fill in form to login, then you can also use Win32::IEAutomation.
Raghu
|
---|
In Section
Seekers of Perl Wisdom