TV3 News aus Radio & Presse - Bulk Download with Bash


Maybe someone finds this useful by either speaking/learning German or having a similar task at hand.

The TV3 news site is a daily updated site with radio features and news from the day before. Always interesting to listen to. Bulk download for a whole day can be done via the .m3u file which is also updated daily and has a consistent date string as filename. Therefore some wget and bash scripting will do.

bar=$(date +%Y%m%d -d "yesterday")

wget $foo$bar$rar -O $bar.txt

wget -c -nc -i $bar.txt

rm $bar.txt