Time Heals All Wounds.. And Then Kills the Patient
<Previous Next>
Evening
Evening
Wed Jun 22 16:21:40 2005
Topics:

For a friend who wanted to download all the titles from The Baen online library without doing it by hand, I prodded at the source to their pages, and came up with some incantations to make it easy. I provide them here for your usage.

wget -r -np -l 1 http://www.baen.com/library/titles.htm
cd www.baen.com/library
cat *.htm | grep option | grep value | cut -d\" -f2 | grep http | xargs -n1 wget

Note that the prefix of a file determines what type it is.

There's no good, automated way to get the titles.



Dusk
Dusk
Wed Jun 22 18:48:51 2005

if anyone is wondering it takes about 2 hours to download and you get about 205 megs of stuff, a bunch (70) of the zip files are duplicates, and you get 77 books