Audible book export

How to export a audio book from Audible and save it without DRM for personal archival purposes.

Note: This does NOT crack DRM. It simply uses the users own encryption key (fetched from Audible servers) to decrypt the audiobook in the same manner that the official audiobook playing software does.

Export a book

cd ~/projects/github/audible-activator
source venv/bin/activate

# Get activation bytes (once)
./ -l "de"

# Remove DRM for archival purposes
ffmpeg -activation_bytes <ACTIVATION-BYTES> -i <INPUT>.aax -c copy <author>-<title>.m4b

Initial setup

Setup audible-activator:

cd ~/projects/github
git clone
cd audible-activator
python3.10 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

If this PR is not incorporated yet, do it manually

Install other dependencies

brew install chromedriver ffmpeg

# De-quarantine chromedriver
xattr -d /usr/local/bin/chromedriver