mercoledì 20 novembre 2013

Download books from google books

If you want to download books from google books , you'll have to install "getxbook".
The program downloads every single image part of the entire book.
You also need "imagemagick" and "jpeg2pdf" to transform images into a single pdf.

Let's get started!

1) install "getxbook" using your distro's repository or download & compile the package

how to compile:

download the package here: http://njw.me.uk/getxbook/
unzip
open a shell
cd /path_to_unzip_dir
make
sudo make install

done!

2)choose a book in google book, and copy the book's ID (look at adress bar: ID it's after id= and it ends before &)

3)open a shell:

getxbookgui

paste book's ID

when software is ready , it says "done"

you should find the directory with all images ripped from google books in your home ; its name will be the book's ID

4) open images directory

There will be some files in .jpg and other files in .png ; you have to erase all .png files

4a)erase png files:

open a shell

cd /home/yourusername/ID

mogrify -format jpg *.png

rm *.png

[optional: if jpgs are too heavy -> mogrify -quality 50 *.jpg ]

5) make a pdf

jpeg2pdf /home/yourusername/ID  book.pdf

Done! your pdf is in the pictures directory (or at your home)



getxbookgui can be used with amazon and barnes & noble websites too.

IMPORTANT:you are supposed to use this post for legal downloads for example old books (now copyleft) or -when allowed- just a very small part of a book.










Nessun commento:

Posta un commento