Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.66 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.66 KB

palpable

palpable is a script which downloads all audiobooks from an Audible account and strips the DRM.

Pre-requisites

Activation

Get your activation-bytes from Audible using audible-activator.

Create "resources/config.edn" by copying "resources/sample.config.edn" and add your activation-bytes to the newly created file.

Library HTML

palpable expects to find a file located in "resources/library.html" with the entire contents of your Audible library located on that page. It will parse the page and download each audiobook into a folder with the author's name and the filename as the name of the book.

You can get this file by logging into your Audible account in a browser and going to your My Books page and saving the page as "library.html".

Make sure that all books are visible on the page before saving with no pagination.

Usage

Optionally build and run the Docker image which contains clojure, ffmpeg, and mp4art already.

docker build -t palpable .
docker run \
    --rm -it \
    -v $(pwd)/resources:/usr/src/palpable/resources \
    palpable

Or simply execute script/run.sh which will generate and execute a secondary script script/download.sh. It will first download all of the source audiobooks from Audible and then use the activation-bytes with ffmpeg to copy the audio track into a new file without the DRM.

mp4art adds the cover art to the new, clean m4b files.

Once done, you'll have the original DRM files from Audible available in "resources/sources/" and the DRM-free variants available in "resources/clean/".