Categories
Python

Python DeDRM

I don’t know at the moment if the e-readers’ trend is to grow or to disappear to let smartbooks and tablets take the leadership.

What I know is that when I buy an e-book, I like to read it on every terminal I have… I hate the fact that you *should* need a windows-based PC or a Mac to use Adobe Digital Editions only, because this is the format that e-books market decided to use.

First of all, there is very good reader, it’s called Calibre and it runs on linux. Ok, great. But what to do if your epub o pdf is locked down with DRM?

Luckily we have a DeDRM tool written in python that does what-we-know-but-we-cannot-write to set free the books you bought!

Just as a memo, here is the steps to follow under linux, with wine+ActivePython+Adobe Digital Editions 1.7.2 (ADE):

  1. you have downloaded the acsm file from the e-shop
  2. launch ADE@wine and drag&drop the acsm to let ADE download the real e-book
  3. press CTRL+I to see in which folder the e-book is downloaded
  4. if it’s a PDF, launch in Other_Tools/Adobe_PDF_Tools the ineptkey@wine to retreive the keys in a file called adeptkey.der; then run inĀ Other_Tools/Adobe_PDF_Tools the ineptepub@wine
  5. it it’s a ePUB, launch in Other_Tools/Adobe_ePub_Tools the ineptkey@wine to retreive the keys in a file called adeptkey.der; then run in Other_Tools/ePUB_Fixer ePub_Fixer@wine; then run in Other_Tools/Adobe_ePub_Tools the ineptepub@wine
  6. in case it’s in another format just read the txt readme’s inside DeDRM (it’s very well documented!)

You will end with your PDF clean-from-drm-crap and you can read it on a very old smartphone like my N79 with Symbian too!

One reply on “Python DeDRM”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.