How to Remove EPub DRM use python script

Best DVD Video Software

How to Remove EPub Drm, Remove drm from epub.

It is easy to remove DRM protection from EPUB files using free python scripts:

Python is a general-purpose high-level programming language whose design philosophy emphasizes code readability. Python aims to combine "remarkable power with very clear syntax", and its standard library is large and comprehensive. Its use of indentation for block delimiters is unusual among popular programming languages.

Download python-2.6.2.msi

 Program/Script Needed:

Download Remove-ePub-drm-use-python-script.rar . This rar files Include: Python 2.6.2, Pycrpto for Window XP, ineptkey.pyw and inepteput.pyw .

If You are not Windows XP, you need to download Bython 2.6 here: www.python.org/download/, and download Pycrpto here: www.voidspace.org.uk/python/modules.shtml

  1. Install Adobe Flash Player
     used to download Adobe Digital Editions(ADE), and download some free sample eBooks including entire books and preview chapters from leading publishers.
  2. Install Adobe Digital Editions (ADE)
    Authorize your copy of Adobe Digital Editions.
  3. Install Python  Download python-2.6.2.msi
  4. Install PyCrypto  Download pycrypto-2.1.0.win32-py2.6.exe
     
  5. Download ineptkey.pyw and ineptepub.pyw and put them into one directory.


When you install all the programs, Remove epub drm now:

1. Run ineptkey.pyw. It will find the key and write it to hard disk as "adeptkey.der" in the same directory where ineptkey.pyw is.

The adeptkey.der include all the epub drm keys file created.

2. Run ineptepub.pyw to remove epub drm.
A dialog windows with three parameters will pop up :

Key file ADEPTKEY.DER (filled automatically if the ADEPTKEY.DER-file and ineptepub.pyw reside in the same directory)
If not, click on the "…" button and select a key file.

Automated inept epub decrypter

Input file
Click on the "…" button to choose your EPUB ebook / input folder. You'll find it in "My Documents\My Digital Editions".
If you just can't find the EPUB ebook, open Adobe Digital Editions and find the path in the properties of the ebook.

Automated inept epub decrypter

Output file
Click on the "…" and enter a filename/output folder.

Automated inept epub decrypter

Automated inept epub decrypter

Click decrypt whole directory, then remove drm protected epub files all the folder.

Open your newly created DRM-free EPUB file with your favorite application (on whatever device you like)

The same steps to remove BBeB drm protections.

 

reply
Andrew
8/27/2010 4:57:23 AM
108.6.214.57
I run this and get a "problem decrypting session key" error
Help!
Alyssa
9/21/2010 6:35:38 PM
69.251.208.49
This doesn't appear to work, I've looked at instructions on about 5 different websites and absolutely nothing works.  It doesn't matter if I enter a file name or simply a folder in Input Path and Output Path - I've tried every combination possible and nothing works.  I don't get an error message, the program just eventually gets fed up with me and closes.
Roger
3/6/2011 7:43:17 PM
64.18.169.217

When you install all the programs, Remove epub drm now:

1. Run ineptkey.pyw. It will find the key and write it to hard disk as "adeptkey.der" in the same directory where ineptkey.pyw is.

--------------

The operation above does not work.

I get these three lines of messages in the adeptkey console :

Traceback (most recent call last):
  File "C:\Python26\inept\ineptkey_v43.pyw", line 230, in main
    retrieve_key(keypath)
  File "C:\Python26\inept\ineptkey_v43.pyw", line 149, in retrieve_key
    vendor = cpuid0()
  File "C:\Python26\inept\ineptkey_v43.pyw", line 112, in cpuid0
    cpuid0__(buffer)
WindowsError: exception: access violation writing 0x00BE4F88


do you know what coauses this?

thank you

reply