wantz
wantz is a small perl script to download dinosaur comics from qwantz.com.
wantz will download to a directory of your specification and build small html files for each of the comics, and will preserve the alt text, title, height, and width of the image. Links to the previous and next comics are provided for your convenience.
It uses LWP::UserAgent to download the files. Earlier versions used File::Fetch, but this was removed in version 1.3. Yet earlier versions were dependant on 'wget' but this was removed in version 1.2.
As of version 2.0, wantz will download list.html and use that to generate the list of comics to download off of.
Version 3.0 is the first complete and sane version. wantz now prints to standard error instead of a file, and is updated to work with the new qwantz.com layout.
Releases
- wantz-3.0 - 2009-08-07
- wantz-2.1 - 2009-05-25
- wantz-2.0 - 2009-05-24
- wantz-1.3.2 - 2009-05-23
- wantz-1.3.1 - 2009-05-23
- wantz-1.3 - 2009-04-25
- wantz-1.2 - 2009-12-18
- wantz-1.1 - 2009-12-10
- wantz-1.0 - 2008-12-10
Usage
Please read the man page (wantz --man) for further information.
wantz accepts the following command line options:
* -h prints a brief help message and exits
* -m displays the manpage
* -v toggles verbosity
* -u update to the latest comic
* --range x y download comics from x to y
* -l x y z ... download the comic #'s specified in the list
* -d dir/ download comics to dir/ instead of ./
* --rebuild rebuild 000000.html, index.html, and favicon.ico if they exist
The following example will download all the current dinosaur comics to ./:
wantz -u
And the following example will download the first 1000 comics to ./:
wantz --range 1 1000
And the following example will verbosely download the first seven prime comics to ~/primes/, using err.log as the errorlog:
wantz -v -d ~/primes -l 2 3 5 7 11 13 17
License
Written mostly by Samuel Baldwin, although Jonathan Hills helped a lot with initial versions. Andrew Hills provided the idea for the program and helped with debugging. Ryan North wrote all the comics.
wantz is released under the MIT/X Consortium License. A copy of the license can be found in the release tarballs.