#!/bin/bash

[ -z "$1" ] && echo "usage: $0 <id>" && exit 1

#URL="http://webcast.berkeley.edu/courses/stream.php?type=download&webcastid=$1"
URL="http://webcast.berkeley.edu/stream.php?type=download&webcastid=$1"


exec wget -c -O $1.mp3 $URL
