I buy a lot of media, and I don't trust it to always be available. Here's some tools to back all of that up.
Overdrive (now Libby) got rid of the desktop client. But chbrown created a script that downloads MP3s if you can get the odm file.
- Go to a library page, like https://nypl.overdrive.com/
- Borrow a book.
- Click "Do you have the OverDrive app?" and it'll give you a link to an ODM file.
- Toss that into the volume mounted
./overdrive/audiobooks
and you can run the following command:
docker-compose exec overdrive overdrive download YOUR_BOOK.odm
So, downloading audible is easy enough. Just on PC go in and grab the download files. The problem is that Audible downloads a DRMed AAX
file. To decrypt back to MP3
, we need to find our AUTHCODE
. I've found two approaches for getting it, but it should only need to be ran once per user regardless. Then it'll just be decrypting.
We need to get your AUTHCODE off of one of your audible books. This is unique per account. After placing one of your .AAX
files into ./audible/audiobooks
, run the following:
docker-compose exec audible find_auth_code SOME_FILE.aax
Now update the .env
in the same folder as docker-compose.yaml
to look like the following, replacing YOUR_HEX with what you just found.
AUTHCODE=YOUR_HEX
Then restart the compose with docker-compose up -d
.
docker-compose exec audible convert_aax SOME_FILE.aax
Gotta install from an older version.
- https://packages.ubuntu.com/bionic/amd64/libmp4v2-2/download
- https://packages.ubuntu.com/bionic/amd64/mp4v2-utils/download
- https://github.com/chbrown/overdrive
- https://github.com/KrumpetPirate/AAXtoMP3
- https://blog.dtpnk.tech/en/howto/convert_audible_to_mp3/#
- inAudible-NG's audible-activator looks to pull your audible
AUTHCODE
from the browser. - inAudible-NG's tables looks to use a rainbow table to hack your
AUTHCODE
due to collision. - https://github.com/mkb79/audible-cli
- https://github.com/openaudible/openaudible, junk ignore this.