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
- Go to Audible and download the book in full as
.aax
- In addition download any accompanying
.pdf
files and save them with the final audio file
cd ~/projects/github/audible-activator
source venv/bin/activate
# Get activation bytes (once)
./audible-activator.py -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 https://github.com/inAudible-NG/audible-activator.git
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
https://github.com/inAudible-NG/audible-activator/pull/56
Install other dependencies
brew install chromedriver ffmpeg
# De-quarantine chromedriver
xattr -d com.apple.quarantine /usr/local/bin/chromedriver