noDRM / DeDRM_tools

DeDRM tools for ebooks
7.03k stars 313 forks source link

DeDRM doesn't remove watermark / Social DRM #435

Open jnton opened 10 months ago

jnton commented 10 months ago

Question / bug report

DeDRM doesn't remove watermark / Social DRM.

Both version 10.0.9 and 10.0.3 have been tested and they both don't work (also: same debug log).

Remove watermarks toggle is activated.

The book has been removed and added many times and none of them worked.

OS used: Linux development environment on ChromeOS (v.120.0.6099.25 (Official Build) beta (64-bit)), aka Crostini.

Which version of Calibre are you running?

6.29.0

Which version of the DeDRM plugin are you running?

v10.0.9

If applicable, which version of the Kindle software are you running?

No response

Log output

calibre 6.29  embedded-python: True
Linux-6.1.60-08587-g92dc6e499ec1-x86_64-with-glibc2.31 Linux ('64bit', 'ELF')
('Linux', '6.1.60-08587-g92dc6e499ec1', '#1 SMP PREEMPT_DYNAMIC Sun Nov 12 18:39:52 PST 2023')
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 9) && Obok DeDRM (10, 0, 9)
QPA platform: wayland
devicePixelRatio: 2.0
logicalDpi: 96.0 x 96.0
physicalDpi: 127.90714285714284 x 127.67914438502672
ApplicationPaletteChange event ignored
Using calibre Qt style: True
[0.00] Starting up...
[0.03] Showing splash screen...
[0.13] splash screen shown
[0.13] Initializing db...
[0.16] db initialized
[0.16] Constructing main UI...
DEBUG:    0.0 obok::utilities.py - loading translations
DEBUG:    0.0 obok::dialogs.py - loading translations
DEBUG:    0.0 obok::config.py - loading translations
DEBUG:    0.0 obok::action_err.py - loading translations
qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor.
[0.83] main UI initialized...
[0.83] Hiding splash screen
Starting QuickView
qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor.
[1.29] splash screen hidden
[1.29] Started up in 1.29 seconds with 1 books
['zenity', '--modal', '--file-selection', '--title=Select books', '--separator=\n', '--attach=2', '--filename=/home/user/.file', '--file-filter=Books | *.lrf *.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 *.cb7 *.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 *.kpf', '--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 *.cb7', '--file-filter=Archives | *.zip *.rar *.7z', '--file-filter=Wordprocessor files | *.odt *.doc *.docx', '--file-filter=All files | *', '--multiple']
qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor.
DeDRM v10.0.9: Trying to decrypt watermarked-ebook.epub
DeDRM v10.0.9: Verifying zip archive integrity
DeDRM v10.0.9: Post-processing took 0.1 seconds
DeDRM v10.0.9: Finished after 0.2 seconds
Added Watermarked Ebook to db in: 0.1
Added 1 books in 0.7 seconds
Worker Launch took: 0.00 seconds
qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor.
QAbstractItemView::commitData called with an editor that does not belong to this view
QAbstractItemView::closeEditor called with an editor that does not belong to this view
noDRM commented 10 months ago

Does the file have any of the watermarks supported by the watermark removal script? Which store is the file from?

In general, there's A) no single watermark / social DRM but rather dozens of different ones, and B), other than with hard DRM, it's difficult to even figure out if a book has a watermark. The plugin can only remove watermarks that follow one of the known schemes.

jnton commented 9 months ago

Does the file have any of the watermarks supported by the watermark removal script?

I don't know which watermarks are supported by watermark removal script, is there a list?

Which store is the file from?

From the Bookrepublic Store: https://www.bookrepublic.it/.

Anyway, in their privacy policy they say that the Social DRM they use is called Exlibris. They also have a link to their service: https://exlibris.bookrepublic.it/.