getmodarchive

#!/bin/bash

# modarchive からとってくる
# usage: getmodarchive http://www.modarchive.com/artists/suds/

artistname=`echo $1 | sed -e 's@http://www.modarchive.com/artists/@@'`
echo $artistname
mkdir $artistname
cd $artistname
wget $1 -O index.html
grep ^\<TR\ \.\*cgi-bin index.html |
sed -e 's@</A>.*@@' -e 's@.*HREF="@@' -e 's@">.*@@' -e 's@^@http://www.modarchive.com@' > LIST
wget -i LIST