[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Automatically opening a web page and have it as if the mouse was clicked once?
> > Is there a way to have a cron job automatically open a web
> page, have it as if
> > the mouse was clicked once and send the resulting page to /dev/null?
> > Reason for asking: I want a cron job to do a daily donation
> of free food at
> > www.thehungersite.com
>
> mouse was clicked once on what?
> if $what is a link, wget it.
> if $what is a form, telnet it.
> if $what is a javascript, reverse eng it and recurse.
> if $what is a java applet, contact the webmaster, and donate it
> to its bank account...
Its more compicated, its a url, that is autogenerated on page load from
server.
you have to parse the page, grab the url and wget it.
but you can hack python/perl/java script to do that.
Ofcourse since it'll take about an hour work to do that - just donate your
hourly salary to a $RandomGoodCause :-)
-CS.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il