Home

Awesome

audible-activator

A script to retrieve your activation data (activation_bytes) from Audible servers.

Last tested on Ubuntu 20.04 + Chromium 83.x + chromium-chromedriver (83.0.x) + Python 3.8.x in July 2020.

July-2020 update: https://github.com/openaudible/openaudible folks have stolen this central principal component code + "IP" and have created a non-100%-free-source commercial product with it.

Usage

$ ./audible-activator.py -h
Usage: audible-activator.py [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d, --debug           run program in debug mode, enable this for 2FA enabled
                        accounts or for authentication debugging
  -f, --firefox         use this option to use firefox instead of chrome
  -l LANG, --lang=LANG  us (default) / au / in / de / fr / jp / uk (untested)
  -p PLAYER_ID          Player ID in hex (for debugging, not for end users)
  --username=USERNAME   Audible username, use along with the --password option
  --password=PASSWORD   Audible password
...

$ ./audible-activator.py
<enter username and password>

$ ./audible-activator.py -l de  # for "de" users
<enter username and password>

$ mpv --demuxer-lavf-o=activation_bytes=CAFED00D sample.aax

$ echo -e "\ndemuxer-lavf-o=activation_bytes=CAFED00D" >> ~/.config/mpv/mpv.conf  # for convenience

$ ffplay -activation_bytes CAFED00D sample.aax

Quick Setup

Python 2 (or Python >= 3.6) is required along with Selenium, Requests, ChromeDriver, and Google Chrome.

pip install --user requests  # use "easy_install" if pip is missing

pip install --user selenium

Download and extract the correct ChromeDriver zip file from here to this folder.

Download Google Chrome from https://www.google.com/chrome/ and install it on your computer.

Ryan reports that the 32-bit Mac ChromeDriver works fine under a 64-bit Mac environment.

Anti-Piracy Notice

Note that this project does NOT 'crack' the DRM. It simplys allows the user to use their own encryption key (fetched from Audible servers) to decrypt the audiobook in the same manner that the official audiobook playing software does.

Please only use this application for gaining full access to your own audiobooks for archiving/converson/convenience. DeDRMed audiobooks should not be uploaded to open servers, torrents, or other methods of mass distribution. No help will be given to people doing such things. Authors, retailers, and publishers all need to make a living, so that they can continue to produce audiobooks for us to hear, and enjoy. Don't be a parasite.

This message is borrowed from the https://apprenticealf.wordpress.com/ page.

Debugging Tips

Notes

Credits