#!/bin/sh

BASEURL1="http://www.perseus.tufts.edu/hopper/xmlchunk?doc=Perseus%3Atext%3A1999.03.0079%3Apage%3D"
BASEURL2=${BASEURL1}

JARDIR="../../misc"
CLASSPATH="../../build:${JARDIR}/commons-httpclient-3.1.jar:${JARDIR}/commons-logging-1.1.1.jar:${JARDIR}/commons-codec-1.4.jar"
WAITSEC=2

START=1
END=755
OUTPUT1=schmidt-vol1.xml
java -cp ${CLASSPATH} clsepw.util.WgetPages ${BASEURL1} ${START} ${END} ${WAITSEC} > ${OUTPUT1}

START=756
END=1410
OUTPUT2=schmidt-vol2.xml
java -cp ${CLASSPATH} clsepw.util.WgetPages ${BASEURL2} ${START} ${END} ${WAITSEC} > ${OUTPUT2}
