From 350c6749722476e73aed2922c264694dec800494 Mon Sep 17 00:00:00 2001 From: marc Date: Sun, 22 Nov 2009 11:52:46 +0100 Subject: [PATCH] wdr5-feature download hinzu --- wdr5_download_feature.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 wdr5_download_feature.sh diff --git a/wdr5_download_feature.sh b/wdr5_download_feature.sh new file mode 100644 index 0000000..3c87a99 --- /dev/null +++ b/wdr5_download_feature.sh @@ -0,0 +1,12 @@ + +TMPDIR=/tmp +MP3DIR=/dat/mp3/Hörspiel/wdr5_feature + +cd $TMPDIR +wget http://www.wdr.de/radio/home/downloadportal/download_feature.phtml +file=$(cat download_feature.phtml | grep "\.mp3" | head -n 1 | awk -F "\"" '{print $2}') +rm download_feature.phtml + +[ -d $MP3DIR ] || mkdir -p $MP3DIR +cd $MP3DIR +wget -N $file