首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >从kindle图书帮助中删除Drm

从kindle图书帮助中删除Drm
EN

Ask Ubuntu用户
提问于 2019-02-05 07:12:11
回答 1查看 1.3K关注 0票数 1

安装的口径与kindle-解压插件。已安装的DeDRM插件。在调试模式下重新启动口径,发现DRM未被删除。我从调试中收到了这个反馈。

代码语言:javascript
运行
复制
calibre Debug log
calibre 3.39.1  embedded-python: True is64bit: True
Linux-4.15.0-45-generic-x86_64-with-debian-buster-sid Linux ('64bit', 'ELF')
('Linux', '4.15.0-45-generic', '#48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019')
Python 2.7.15
Linux: ('debian', 'buster/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 6, 1) && KindleUnpack - The Plugin (0, 81, 5)
calibre 3.39.1  embedded-python: True is64bit: True
Linux-4.15.0-45-generic-x86_64-with-debian-buster-sid Linux ('64bit', 'ELF')
('Linux', '4.15.0-45-generic', '#48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019')
Python 2.7.15
Linux: ('debian', 'buster/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 6, 1) && KindleUnpack - The Plugin (0, 81, 5)
Turning on automatic hidpi scaling
QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 118.41774744 x 118.946341463
Using calibre Qt style: True
QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.
[0.00] Starting up...
[0.01] Showing splash screen...
[0.30] splash screen shown
[0.30] Initializing db...
[0.35] db initialized
[0.35] Constructing main UI...
Looking for desktop notifier support from: org.freedesktop.Notifications
org.freedesktop.Notifications found in 0.0 seconds
[1.93] main UI initialized...
[1.93] Hiding splash screen
[11.22] splash screen hidden
[11.22] Started up in 11.22 seconds with 1 books
['zenity', '--modal', '--file-selection', '--title=Select books', '--separator=\n', '--attach=52428814', '--filename=/home/aubrey/Downloads/.fgdfg.gdfhjdhf*&^839', '--file-filter=Books | *.lrf *.rar *.zip *.rtf *.lit *.txt *.txtz *.text *.htm *.xhtm *.html *.htmlz *.xhtml *.pdf *.pdb *.updb *.pdr *.prc *.mobi *.azw *.doc *.epub *.fb2 *.fbz *.djv *.djvu *.lrx *.cbr *.cbz *.cbc *.oebzip *.rb *.imp *.odt *.chm *.tpz *.azw1 *.pml *.pmlz *.mbp *.tan *.snb *.xps *.oxps *.azw4 *.book *.zbf *.pobi *.docx *.docm *.md *.textile *.markdown *.ibook *.ibooks *.iba *.azw3 *.ps *.kepub *.kfx', '--file-filter=EPUB books | *.epub *.kepub', '--file-filter=Kindle books | *.mobi *.prc *.azw *.azw3 *.kfx *.tpz *.azw1 *.azw4', '--file-filter=PDF books | *.pdf *.azw4', '--file-filter=HTML books | *.htm *.html *.xhtm *.xhtml', '--file-filter=LIT books | *.lit', '--file-filter=Text books | *.txt *.text *.rtf *.md *.markdown *.textile *.txtz', '--file-filter=Comics | *.cbz *.cbr *.cbc', '--file-filter=Archives | *.zip *.rar', '--file-filter=Wordprocessor files | *.odt *.doc *.docx', '--file-filter=All files | *', '--multiple']
DeDRM v6.6.1: Trying to decrypt Today's Technician_ Automotive Heating & Air Conditioning Classroom Manual and Shop Manual, Spiral bound Version.azw4
Using Library AlfCrypto DLL/DYLIB/SO
MobiDeDrm v0.42.
Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
Decrypting Mobipocket 4 ebook: Today's Technician: Automotive Heating & Air Conditioning Classroom Manual and Shop Manual, Spiral bound Version
Found 0 keys to try after 0.6 seconds
Crypto Type is: 2
DeDRM v6.6.1: Failed to decrypt with error: No key found in 0 keys tried.
DeDRM v6.6.1: Looking for new default Kindle Key after 0.6 seconds
DeDRM v6.6.1: Running kindlekey.py under Wine
DeDRM v6.6.1: Command line: 'WINEPREFIX="/home/aubrey" wine python.exe "/home/aubrey/.config/calibre/plugins/DeDRM/libraryfiles/kindlekey.py" "/home/aubrey/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir"'
/bin/sh: 1: wine: not found
DeDRM v6.6.1: Found and decrypted 0 key files
DeDRM v6.6.1: Ultimately failed to decrypt after 0.6 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "site-packages/calibre/customize/ui.py", line 172, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 621, in run
  File "calibre_plugins.dedrm.__init__", line 571, in KindleMobiDecrypt
DeDRMError: DeDRM v6.6.1: Ultimately failed to decrypt after 0.6 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
Added Today's Technician: Automotive Heating & Air Conditioning Classroom Manual and Shop Manual, Spiral bound Version to db in: 1.8
Added 1 books in 3.3 seconds
EN

回答 1

Ask Ubuntu用户

发布于 2020-11-01 03:15:42

Linux口径插件不会自动检测和生成剥离DeDRM所需的解密密钥。你得自己加起来。

我是在LinuxMint19.3上这样做的,但是原则应该是一样的。

先决条件

安装葡萄酒(遵循本指南这里)

使用葡萄酒安装Kindle 1.17并登录到您的帐户

安装Python2.7和pycrypto

  • 下载最新的Windows X86 这里
  • 这里下载pycrypto-2.1.0.win32-py2.7.zip并解压缩它
  • 使用葡萄酒msiexec /i python-2.7.16.msi葡萄酒pycrypto-2.1.0.win32-py2.7.exe安装

创建Kindle解密文件

如果您还没有DeDRM插件,请下载这里并将其添加到杯中。

  • 解压缩DeDRM_tools_6.8.0.zip
  • 接下来,解压缩DeDRM_Plugin.zip
  • 在解压缩文件夹中找到kindlekey.py。然后,创建.k4i文件。葡萄酒python.exe kindlekey.py

您应该看到一条类似于“已成功检索到kindlekey1.k4i的密钥”的消息。

将.k4i文件添加到您的DeDRM插件(口径

)中

  • 开放口径->首选项->插件-> DeDRM ->自定义用于Mac/PC电子书的插件-> Kindle
  • 导入刚刚创建的k4i文件

这样,你就可以从你的Kindle应用程序下载的.azw文件中删除DRM。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1115743

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档