Skip to content

Instantly share code, notes, and snippets.

View rumlenordstroem's full-sized avatar

Rumle Nordstrøm rumlenordstroem

View GitHub Profile
#! /usr/bin/env bash
# Usage: ./qobuz-album-downloader.sh X-APP-ID X-USER-AUTH-TOKEN [STREAMRIP ARGUMENTS]
# Example ./qobuz-album-downloader.sh xxx xxx --quality 2 --codec mp3 --folder ~/Music --no-db
#
# Find your x-app-id and x-user-auth-token in the Qobuz web player in your browser.
# You then need to manually inspect the network request made by the web player.
# Look for a GET request to this API https://www.qobuz.com/api.json/0.2/.
# They usually contain your unique x-app-id and x-user-auth-token in the request header.
# Qobuz API documentation: http://openwin.shanling.com:9000/pdf/Qobuz_API_Documentation_v1.17.pdf