Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Need to monitor a website that has a login

by imrags (Monk)
on Jun 18, 2009 at 06:14 UTC ( #772652=note: print w/replies, xml ) Need Help??


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
use 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);
That'd be one way of doing it
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772652]
help
Chatterbox?
[james28909]: everything past the first two things you piked from my posts are irrelevant to me and my beliefs. they are side effects.
[james28909]: two or three. if it has to do with how humans are handling said situations, then that is after they were able to evolve into those problems. agnostic means only believe with evidence. i took that from a tyson video
[james28909]: and it seems that racism suggest that there is indeed a better race, but that is for evolution to decide
[1nickt]: "right now, humans are smarter than in any of those times": define "smart"
[erix]: ah, now you're appraoch downvote-territory ;)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-12-15 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (433 votes). Check out past polls.

    Notices?