Download and convert Audible files (semi automatic)

How much money and influence has Jeff Bezos? I don’t care neither but it’s definitely too much for a single person.

Since I don’t want to support such an exaggerated big company, quitting Amazon was the logical consequence.

Better late than never

After countless forms begging me not to cancel my subscriptions, I finally got rid of them.
But for now I had already “bought” 50 audio books. At least that’s what I thought, but in truth they were only borrowed for as long as my account existed.

In my opinion, after having under-proportionally supported the artists, the user should have the right to access their works in good conscience even without an Amazon account.

So I had no choice but to download and convert the files. I would like to tell you here briefly how I handled it using Ubuntu.

Disclaimer: I do claim credits for any basic idea behind the project. My work here included only puzzling the pieces together.

 

First part: Download your files

The easy way

Checkout: audible-downloader

The manual way

If the scripts in the repo above don’t work you could try a manual approach to download all files in batch. In order to get things done we need all download links from your audible library.

Login to your audible account using your favorite browser.

Go to your library

Make sure to set the filter to all

Scroll down to display as many items in one page as possible (e.g. 50)

open your developer console (F12 in Firefox)

gather all titles using the following JS

copy and paste the links into the bash script

Second part:  Resolve your activation key

The downloaded files are encrypted by amazon within their proprietary file format aax. In order to convert the files into mp3 or ogg we need to decrypt their file format using a secret key (bound to your amazon account).

I highly recommend using audible-activator for this job. The tool fetches the key from your browsers audio player.

Third part: Conversion

After resolving your key we can now convert all the downloaded files

The easy way

You can download and apply:

aax2mp3-easy

But unfortunately this didn’t work out for me so I’ve tried the manual approach.

The manual approach

Download and install: AAXtoMP3

edit the shell script

and viola! We can finally delete the Amazon account.

 

Please let me know if you have any questions.

About the author

Dear reader, my name is Patrick. And I will tell you my story. The story that brought me here.

Years ago in 2008 I was lying in my bed wondering about people. In that time I realized that something really goes wrong in our society. When I started to inform my self what was happening I found out that people are working but won’t live. My eyes opened and I began to notice the inequality all around us. The inequality between developing countries and industrial countries, between factory workers and investors, between men and women, between the poor kids being bad at school and the privileged kids with their parents that are engineers, who could help them at their math homework.

The more I learned the more shocked I became. Back in that time I asked my mother… “mother did you know …?” And she just answered me “… yes that’s how it is… “. I felt daunted because she knew all that… “So why don’t you change something?”. I do not remember her exact reply but I remember my feelings… pure disappointment.

In that moment I realized that I must change something. But what? And how? I was alone knowing nothing. Just a kid in school. Years later in 2011 were all the tech giants ascended my friends told me about Facebook. In Germany we had social media platforms but Facebook appeared “fresh” and “cool”. So I made an account (teenagers love cool stuff). I was excited all the nice features, the connection, and of course the seamless technology felt amazing.

At the end of the year I stumbled along a documentary focusing on data gathering that inspired me. And in the end I just wondered: “what if a large company just know everything about us? Our relationships? Sexuality? Our political opinion, etc.? All the implications rang like a bomb in my head: George Orwell. Eastern Germany, Stalin, Hitler… what if they had that much data, that much information about us? Red alert! As if stung by a bee, I deleted my Facebook account and informed all of my friends and family. And …. they laughed at me. Hahahahah, maybe you know what I mean. I assumed that I’m either farsighted or paranoid.

No matter, I quit all my Facebook activities and lost many connections to friends. Felt a bit like an idiot. The years passed by and I started studying computer science. And along the road my new companions joined me: Amazon and Google. In my study time I’ve met a lot of Eco-Activists. We had super interesting talks and they opened a new critical vector in my sight: Pollution and the destruction of nature everywhere on our planet. I do not want to get lost in this subject now, as it would definitely go too far. The important thing is that this aspect has also had a lasting effect on me and my perspective.

Now, after all the time passed by I’m sure that things did not turn out to the better. Neither in the field of centralization and monopolization of the Internet, nor in the field of environmental protection. We need to stick together, crowd found, shop locally, make community gardening projects in our neighborhood. And the most important thing: share knowledge.

Because knowledge is power and it belongs to the people!