google-books-download

Download pages of a Google Book all in one zip file:

  1. Open the Google book you want to download in your browser.

  2. Open browser console:

    1. in Chrome: More tools>Developer tools>Console (or use short keys Ctril+Shift+I)
    2. in Firefox: F12 (opens developer mode)> Console
  3. Copy/paste all contents of main.js file (provided in this repository) into your browser console, and hit enter.

  4. Scroll up or down through the Google book and go through all pages you want to download. Pages get loaded as you scroll on them.

  5. Once you are done scrolling, type "finish()" (without quotes) on console and press enter. You will be prompted to download the book's zip file!

Note: You can only download pages that Google allows to be previewed in your browser. Hidden pages of the book are not accessible.