Originally posted by freeballer
I would like a script that will download comics from ucomics.com (such as garfield) from site every day and/or setup to download a week archive.
Originally posted by mekanik
you'll need the
wget package to perform this.
just add the following to your crontab and run it at whatever time you'd like, or you can add it to your ~user/.bashrc and then run when you'd like from the shell.
crontab:
Code:
wget http://images.ucomics.com/comics/ga/`date '+%Y'`/ga`date '+%y%m%d'`.gif
~uid/.bashrc:
Code:
garfield() {
## fetch the daily garfield comic from ucomics.com
wget http://images.ucomics.com/comics/ga/`date '+%Y'`/ga`date '+%y%m%d'`.gif
}
-mekanik