Time to cheat. Working with Amazon formats

Time to cheat

I like free and open source software like everyone else. But, I also like being able to do what I need to do. Si one thing proprietary software beats us at is that it can hire full-time developers. I want to draw your attention to the problem that is coming taking care of two articles ago. The way to remove copy protection from Amazon books so that you can convert them to other formats and work with them on other devices.

It is worth mentioning that the prohibition to do so by Amazon also occurs, although the author of his permission.

Going back to the beginning of the article, I have been talking a lot about a solution based on two plugins for Caliber. They are open source solutions developed by volunteers and have limitations. To this must be added that Amazon has armies of developers dedicated to finding and correcting security flaws. And, they also know how to use Google.
As a result, those plugins work for a very short time until developers find free time to reverse engineer and release a new version.

Time to cheat. Using proprietary Windows applications.

There are some shareware tools that work under Wine And because they are paid and can have full-time developers, they work longer. Of course, in the free mode they have limitations in their benefits.

  • Epubor Ultimate: It the tool that is most mentioned in the articles. It is available for Windows and Mac. In addition to the Kindle formats, it also removes DRM from Adobe, Kobo and Nook. The only problem is that the free version only converts 20% of the content so you will have to pay the $ 24 for the license. As a counterpart, you can convert several books at the same time
  • Kindle DRM Removal eBook: Convert all in. azw and some .kfx. The conversion can be to epub, doc, txt or html. In all cases without loss of quality.
  • iSummersoft Kindle Converter: Also available For Windows and Mac, it removes DRM in kfx, azw and azw3 formats with no loss of quality. The trial version only converts three books. The cost of the paid version is $ 19,99.

When all else fails

If you are a skilled typist, you can always make a copy of the book by typing it. But if you are not There is a script that allows you to manually go through the reader's pages in the Amazon cloud and take a screenshot of each of them. When the procedure is finished, you just have to join them in a pdf and pass them through an optical character recognition program. For example uploading the pdf to Google Drive and opening it with Google documents is enough.

In order to do this we need two programs that are in the repositories of all Linux distributions:

  • Xdotool to simulate mouse pressure over a specified period of time.
  • Scrot is the tool that will capture the screen in the background.

Procedure

  • Open your browser and go to the cloud reader, choose a book, set it up for single page view, and go to the home page.
  • Open the finish and, minimizing it, place it on the left side of the browser.
  • Write xdotool getmouselocation in terminal, but don't press Enter.
  • Bring the pointer against the right margin at half the height of the monitor and press Enter.
  • Make a note of the X and Y values. Close the terminal.
  • Open the text editor and copy the following.

#!/bin/bash
while [ 1 ]; do
xdotool mousemove XXXX YYY click 1 &
scrot -q 100 '%Y-%m-%d-%H:%M:%S.png' -e 'mv $f ~/Imágenes/'
sleep 20
done

Remember to replace XXXX and YYY with the coordinates you wrote down.

  • Save the file as script.sh in your personal folder. Place the pointer over its icon and with the right button go to Properties. Give it permission to execute.
  • Type in the terminal ./script.sh and set the browser to full screen.

With this script a photo will be taken every 20 seconds and it will be saved in the images folder until you close the terminal. Delete any that are left over. For recognition you will need to install the Tesseract and Tesseract-SPA packages as well as a graphical interface such as Gscan2pdf. Or, like I told you before, Google drive and Docs.

Of course, before doing all this, you should check if someone did not upload the book to the Internet.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Seba said

    … For the rest to read Mobi and AZW: Lector, Bookworm and Foliate