DeDRM tools for ebooks
Go to file
penenkel ad5cb056f0
Add conversion from bytearray to bytes so that pids are hashable
2020-11-30 23:25:01 +01:00
.github Update Format.yaml: Change execution condition of workflow 2020-11-28 21:39:27 +09:00
DeDRM_plugin Add conversion from bytearray to bytes so that pids are hashable 2020-11-30 23:25:01 +01:00
Obok_plugin _winreg in python3 has been changed to winreg. Update imports. 2020-10-21 10:56:50 -06:00
Other_Tools _winreg in python3 has been changed to winreg. Update imports. 2020-10-21 10:56:50 -06:00
CALIBRE_CLI_INSTRUCTIONS.md Update doc link for preferences code 2020-10-09 22:25:01 +13:00
DeDRM_plugin_ReadMe.txt Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
FAQs.md Update FAQs.md 2020-11-27 19:29:12 +00:00
README.md Update README.md 2020-11-27 19:20:44 +00:00
ReadMe_Overview.txt Update ReadMe_Overview.txt 2020-11-27 19:32:25 +00:00
make_release.py Remove unused fns in make_release.py 2020-10-08 14:37:04 -05:00
obok_plugin_ReadMe.txt Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00

README.md

[Guide] How to remove DRM

Refer to Wiki Page

DeDRM_tools

DeDRM tools for ebooks

This is a repository that tracks all the scripts and other tools for removing DRM from ebooks that I could find, committed in date order as best as I could manage. (Except for the Requiem tools for Apple's iBooks, and Convert LIT for Microsoft's .lit ebooks.) This includes the tools from a time before Apprentice Alf had a blog, and continues through to when Apprentice Harper (with help) took over maintenance of the tools.

The individual scripts are now released as two plugins for calibre: DeDRM and Obok. The DeDRM plugin handles books that use Amazon DRM, Adobe Digital Editions DRM (version 1), Barnes & Noble DRM, and some historical formats. The Obok plugin handles Kobo DRM.

Users with calibre 5.x or later should use release 7.0.0b2 or later of the tools. Users with calibe 4.x or earlier should use release 6.8.0 of the tools.

Developers might be interested in forking the repository, as it contains unzipped versions of those tools that are zipped to make the changes over time easier to follow.

For the latest Amazon KFX format, users of the calibre plugin should also install the KFX Input plugin from the standard calibre plugin menu. It's also available from the MobileRead thread here: https://www.mobileread.com/forums/showthread.php?t=291290

Note that DRM can only be removed from KFX format files downloaded with Kindle for PC/Mac 1.26 or earlier. Amazon changes the DRM for KFX files in Kindle for PC/Mac 1.27 and later.

I welcome contributions from others to improve these tools, from expanding the range of books handled, improving key retrieval, to just general bug fixes, speed improvements and UI enhancements.

I urge people to read the FAQs. But to cover the most common: Use ADE 2.0.1 to be sure not to get the new DRM scheme that these tools can't handle. Do remember to unzip the downloaded archive to get the plugin (beta versions may be just the plugin don't unzip that). You can't load the whole tools archive into calibre.

My special thanks to all those developers who have done the hard work of reverse engineering to provide the initial tools.

Apprentice Harper.