#!/bin/bash # # 2600 Off the Hook MP3 Extractor # Peter Manis # if [ -e /tmp/oth ]; then rm /tmp/oth fi if [ -e /tmp/othmp3 ]; then rm /tmp/othmp3 fi lynx -source http://www.2600.com/offthehook/archive_ra.html | grep /offthehook | cut -d'"' -f2 | cut -d'.' -f 3,4 > /tmp/oth for line in $(cat /tmp/oth);do lynx -source http://www.2600.com$line | grep mp3files | awk '{print $2}' | cut -d'"' -f2 | cut -d"." -f 3,4 >> /tmp/othmp3 done rm /tmp/oth for line in $(cat /tmp/othmp3);do echo http://download.2600.com/mediadownload/www.2600.com/offthehook$line >> /tmp/oth done rm /tmp/othmp3 wget -c -i /tmp/oth rm /tmp/oth