HowTo download “Mediathek” features for archival purposes
For archival or educational purposes it might be useful to know how
to download content from public radio and TV broadcasters’ archives,
i.e. “Mediathek”.
This only works, when the program is archived as a whole file in a
convenient format like mp3 or mp4, and not in a chunked m3u streaming
format. This we will see in step 4. below. So if we encounter m3u, we
will use VLC instead to capture and convert the stream, see:
HowTo
download audio from m3u or m4s with VLC
rbb_downloader()
{
if [ -z "$1" ]
then echo "Dateiname fehlt"
elif [ -z "$2" ]
then "Download URL fehlt"
else
DWNDIR=/tmp/Downloads/AlteMusik
AMDOWN=$1
rbbmediapmdp=$2
curl $rbbmediapmdp -o $DWNDIR/"$AMDOWN"
ls -htl $DWNDIR
fi
}
# usage:
rbb_downloader "File_Name" "Download_URL"C:\cygwin64\home\schmalfuss\.bashrc
rbb_downloader "Alte Musik - 2020-07-08 - Heinrich Isaac - Lieder und Motetten.mp3" "https://rbbmediapmdp-a.akamaihd.net/content/74/da/74da3627-5312-4f34-b681-93c48f12202d/0a858af8-b788-430b-9f5a-b5c678701a18_53d97702-265a-4586-a6d8-c8c7ad9bac80.mp3"For attribution, please cite this work as
Schmalfuß (2018, April 5). OS DataMercs: rbbKultur - Mediathek-Downloader. Retrieved from https://www.datamercs.net/posts/2018-04-05-rbbkultur-mediathek-downloader/
BibTeX citation
@misc{schmalfuß2018rbbkultur,
author = {Schmalfuß, Olaf},
title = {OS DataMercs: rbbKultur - Mediathek-Downloader},
url = {https://www.datamercs.net/posts/2018-04-05-rbbkultur-mediathek-downloader/},
year = {2018}
}