One thing I missed is that the logfile needs to exist the first time you run it so it may produce errors.

@Ian I just tried it on another computer and it didn't complain. It could be that copying and pasting from the web page is causing problems. Try downloading it with wget

wget -O ./boyt.sh https://hackerpublicradio.org/eps/hpr1430-downloader.bash.txt

then running it 

sh +x ./boyt.sh