View Single Post
Old 10-15-2015, 03:11 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
ScrambleEbook commandline

Purpose:
  • Read a copyrighted EPUB/KEPUB/AZW3 un-DRM'd ebook file and create a copy with scrambled text contents.
  • The aim is to create a book sufficiently mangled to allow a full upload to MobileRead without breach of copyright.
  • This should make it easier for MR members to request and offer help with problematic ebooks.

N.B:
The upgrade to calibre 4.0 required some technical changes to ScrambleEbook. As a result it is no longer available as a standalone python script and so the old attachment to this post has been removed.

Instead, a commandline option has been added to the ScrambleEbook calibre plugin. Those who wish to scramble a book which is present on their OS disk but not in any of their calibre libraries can do the following:
  • Open calibre and install the ScrambleEbook plugin exactly like you would for any other calibre plugin. This is a one-off task and you do not need to have calibre open to do the rest.
  • From the commandline of your OS (this example assumes Windows) use the following one-liner:

    Code:
    "c:\program files\calibre2\calibre-debug" --run-plugin ScrambleEbook path\to\your\book
  • Alternatively, users who prefer to use a Windows .bat file can create one containing these 3 lines:
    Code:
    echo off
    "c:\program files\calibre2\calibre-debug" --run-plugin ScrambleEbook %1
    PAUSE
    Then drag-drop the book to be scrambled onto it.
In both cases the red bit is the absolute path to wherever you have installed calibre on your machine.

Last edited by jackie_w; 12-21-2020 at 07:19 PM. Reason: New instructons for standalone users
jackie_w is offline   Reply With Quote