noDRM / DeDRM_tools

DeDRM tools for ebooks
6.59k stars 287 forks source link

DeDRM not removing DRM from Kindle Files #411

Open zizzy05 opened 8 months ago

zizzy05 commented 8 months ago

First let me say, that I know nothing about coding & debuging issues. I am trying to use DeDRM to remove the DRM from amazon kindle files so that i can load the books on my nook.

I am working with a mac book pro runing MacOS 12.5.1, Calibre v 6.28.1, DeDRM vs 10.0.3, kindle for mac vs. 1.40.1 I ran Calibri in Debug Mode (as suggested in the ReadME file) & the debug text file is linked here: Debug File.txt

Any help would be greatly appriciated!

ElleKayEm commented 8 months ago

Try DeDRM 10.0.9: https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.9

StupacShakur82 commented 8 months ago

It appears that the latest DRM update from Amazon is preventing the beta version from working, as well. I just installed it and tried it on a book in Calibre. The book gets added to the library, but when I go to convert, it ends up saying that it's DRM protected.

Hoping a work-around gets figured out and updated, soon. This is really useful for backing up my books.

ElleKayEm commented 8 months ago

Depends on the book. Post a log or let us know the ASIN and we can take a look.

ylluminarious commented 8 months ago

@ElleKayEm I had the same issue also using Kindle for Mac (1.40.2) with the new beta you linked to above and ran into the same issue. I've created a log file here for you to inspect: https://p153.p0.n0.cdn.getcloudapp.com/items/7KuXAnnw/e4252c0f-03d3-4e6f-8470-470d3bd1f12f.txt

Please let me know if you need any further testing on this as I'd like to get this issue resolved soon as well.

ElleKayEm commented 8 months ago

Install the KFX Input plugin: https://www.mobileread.com/forums/showthread.php?t=291290

ylluminarious commented 8 months ago

@ElleKayEm Thank you, that resolved the error for me. Hopefully that might help other people on here if their issues were similar...

RoninXX commented 8 months ago

Similar issue, but I have DeDRM 10.0.9 and KFX input plugins (at least it looks like it in the log). Loading .azw looks fine (gets correct metadata and cover, but convert or view fails b/c of DRM. debug_calibre.txt

I was excited to read this new purchased book, but hadn't noticed it was not available for my Paperwhite... of course because it is e-ink. There is nothing that wouldn't display properly on the kindle and no way I'm reading a book on my phone.

ElleKayEm commented 8 months ago

@RoninXX I'd recommend downloading this with an older version of Kindle for PC to avoid the KFX format. See method 1 or 2 here: https://www.mobileread.com/forums/showthread.php?t=283371

Then you can use the KindleUnpack plugin to extract the pdf.

j-howell commented 8 months ago

Similar issue, but I have DeDRM 10.0.9 and KFX input plugins (at least it looks like it in the log). Loading .azw looks fine (gets correct metadata and cover, but convert or view fails b/c of DRM. debug_calibre.txt

Your log shows this error in the DeDRM plugin:

File "C:\Users\maxho\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 88, in <module> ImportError: attempted relative import with no known parent package

However line 88 of that file is blank in plugin version 10.0.9. It appears that you have downloaded the repository and zipped the plugin files yourself which will not create a working plugin. You need to download it from the releases page.

RoninXX commented 3 months ago

@j-howell thank you. Five months later when I finally got back to this, that was exactly the problem. I removed the failed install plugin, updated Calibre, downloaded the latest from the releases page, unpacked and installed it, and everything works fine.