Categorygithub.com/fbngrmr/audiotheker
modulepackage
0.0.0-20240331205902-ceece4e02824
Repository: https://github.com/fbngrmr/audiotheker.git
Documentation: pkg.go.dev

# README

audiotheker 🎶

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

audiotheker allows downloading all episodes of a program/collection or an individual episode in the ARD Audiothek. It queries the official GraphQL API to gather the download URLs.

(back to top)

Getting Started

Prerequisites

Go is required to build the binary OR Docker can be used to build an image and run a container.

  • Go 1.16 or newer

OR

  • Docker

Installation

Building

  1. Clone the repo
    $ git clone [email protected]:fbngrmr/audiotheker.git
    
  2. Change directory
    $ cd audiotheker
    
  3. Build
    $ make bin
    

Docker

  1. Clone the repo
    $ git clone [email protected]:fbngrmr/audiotheker.git
    
  2. Change directory
    $ cd audiotheker
    
  3. Build Docker image from Dockerfile
    $ docker build -f Dockerfile.amd64 -t audiotheker:0.2.0 .
    

(back to top)

Usage

Copy the URL to a program, collection, or an individual episode from your browser and provide the URL and a target directory to the binary or a Docker container.

Built binary

$ ./build/audiotheker download \
   "https://www.ardaudiothek.de/sendung/j-r-r-tolkien-der-herr-der-ringe-fantasy-hoerspiel-klassiker/12197351/" \
   PATH/TO/YOUR/DOWNLOADS

Docker

$ docker run \
   --rm \
   --user $(id -u):$(id -g) \
   -v PATH/TO/YOUR/DOWNLOADS:/download \
   audiotheker:0.2.0 download \
   "https://www.ardaudiothek.de/sendung/j-r-r-tolkien-der-herr-der-ringe-fantasy-hoerspiel-klassiker/12197351/" \
   /download

(back to top)

License

audiotheker is distributed under Apache-2.0. See LICENSE.

(back to top)

# Packages

No description provided by the author