Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Auto Login to Websites

by Thilosophy (Curate)
on May 19, 2005 at 08:11 UTC ( #458546=note: print w/replies, xml ) Need Help??

in reply to Auto Login to Websites

You can login to a website and download things with [WWW::Mechanize]. There are a couple of modules on CPAN to send emails, just search for SMTP or Mail.

I am not sure how to do a screen capture, or if that is a good idea (bandwidth-wise and usability-wise). You can download all the images linked from the page, but if possible, try to stick to the text content. This will make sending the email easier, too, as you do not have to worry about attachments.

I am also not sure how this is going to save bandwidth, though. Your script will access the site just as your browser would (consuming just as much bandwidth) and sending an image by email is not slimmer than downloading it via HTTP, too.

Are you sure that accessing this web site is the cause of going over your broadband limit? How often every day do you do this? And would the script do it less often?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://458546]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2018-04-19 15:21 GMT
Find Nodes?
    Voting Booth?