As I mentioned before, here’s the script I use just made to do the job.
The one I made before is crap. This one is much better.
For *nix only as I assume *nix system in the script. Mostly using POSIX tools except for xsltproc and wget. I don’t know what will happen if you use on non *nix.
MIGHT NOT FUNCTIONAL YET.
…as I haven’t done actual testing at all.
But the basics are all here and seems to be working (on FreeBSD, at least).
Should work on any danbooru powered sites.
Bug reports are welcome. (just post comment here)
PS: tell me if you know something like this. And no, I need the one using pure (pdk)sh and wget/xsltproc.
Update: moved to googlecode