Pete's Linux Advent Calendar 2007
The 14th day
Do you know Elza?
Elza is "a scripting language aimed at automating requests on web
pages." That says it all, doesn't it? wget
is good in downloading files from the web, but with elza
you can automatically fill out web forms. Unfortunately the
project (stoev.org)
is no longer maintained but still included in the
Linux distribution Debian. Here is how you can write an elza
script:
#!/usr/bin/perl /usr/bin/elza
var rawfile = /dev/stdout
get url http://hotzenplotz.homelinux.org/advent/2007/?14
Note with this header you can just call your script as a command.