Download stuff from ARD audiothek.
Find a file
2024-05-17 21:36:48 +02:00
graphql fallback to url if downloadurl is empty 2024-05-17 21:36:48 +02:00
.gitignore fallback to url if downloadurl is empty 2024-05-17 21:36:48 +02:00
audiothek.py fallback to url if downloadurl is empty 2024-05-17 21:36:48 +02:00
LICENSE Initial commit 2023-01-06 22:06:09 +01:00
readme.md Update readme.md 2024-05-15 18:31:35 +02:00
setup.txt add install infos 2023-01-07 00:31:32 +01:00

This script can download mp3s and covers from ARD audiothek.

Installation

pip3 install -r setup.txt

Usage

python3 audiothek.py --url 'https://www.ardaudiothek.de/sendung/j-r-r-tolkien-der-herr-der-ringe-fantasy-hoerspiel-klassiker/12197351/'

Can only download the first 999999 episodes! ;)

Folder

./output/id/index_episodename.mp3

Source URL

https://api.ardaudiothek.de/graphql?query=query ProgramSetEpisodesQuery($id:ID!,$offset:Int!,$count:Int!){result:programSet(id:$id){items(offset:$offset first:$count orderBy:PUBLISH_DATE_DESC filter:{isPublished:{equalTo:true}}){pageInfo{hasNextPage endCursor}nodes{id title publishDate summary duration path image{url url1X1 description attribution}programSet{id title path publicationService{title genre path organizationName}}audios{url downloadUrl allowDownload}}}}}&variables={"id":"72633432","offset":0,"count":999999}

Installation problems?

Try this solution: https://github.com/Leetcore/audiothek-downloader/issues/4

git clone "https://github.com/Leetcore/audiothek-downloader.git"
cd audiothek-downloader
python3 -m venv venv
source venv/bin/activate
pip3 install -r setup.txt