pusatdata

GoogleBook Download in Linux

Feb 11th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. Thanks to @Glutanimate for his comment to the OP.
  2.  
  3. getxbook makes a good case for why it is the best option available. I just installed it and used it to download this book with success.
  4.  
  5. getxbook comes with installation instructions (in the INSTALL file). Once installed, it is run as follows:
  6.  
  7. $ getxbookgui
  8. Alternatively, the command
  9.  
  10. $ getgbook book-id
  11. can be used. (The book ID is in the URL for the book. For example, the ID for the book I downloaded is 3pK1-LxtFV4C.)
  12.  
  13. If only a subset of pages is desired, use
  14.  
  15. $ getgbook -n book-id
  16. And then enter the pages you want, one at a time, e.g.:
  17.  
  18. $ getgbook -n book-id
  19. 262
  20. When I said the book was downloaded with success, I wasn't being totally honest. For some reason, getxbook missed a few pages that were available in the preview. To get these, I followed these instructions.
  21.  
  22. Note that the book is downloaded to a sub-directory of the current directory named with the book ID. It is downloaded as a set of .png and/or .jpg files, one per page. These can be converted to .pdf format as follows (after converting the .jpg files to .png files one by one):
  23.  
  24. $ convert *.png book.pdf
  25. Note that if you intend to print this .pdf on paper, you may need to resize some of the individual images (so that they're all roughly the same size) before converting to the .pdf. I used gimp to do this.
Add Comment
Please, Sign In to add comment