Giter Site home page Giter Site logo

google-books-downloader's Introduction

Google Books Downloader

An open-source utility to scrape Google Books

How to use

Installing

Step 0: Python is required to run this utility. If you are new to programming, make sure to download and install the latest version of Python before proceeding.

Step 1: Download/clone the code to your local machine. Install the required dependencies listed in requirements.txt

(hint: run pip3 install -r /[install-directory]/requirements.txt from your console)

Step 2: Run gbd.py and go get 'em books.

(hint: run python [install-directory]/gbd.py from your console to run Google Books Downloader)

Instructions

In order to download a material from Google Books, it needs to have full or snippet view. If a book does not have any of these, i.e. it can't be viewed on Google Books, then the utility can't (and practically, no one can) download the book.

Book examples

Step 1: After running the utility, you'll be asked whether to download from URL or, in case you have previously downloaded it, from backup. At this point, type "Yes".

If you do have a backup file, type "No", then input the address of the backup and proceed to step 4.

Step 2: Enter the URL of the book you want to download.

In this step, Google Book Downloader will browse the book and fetch its pages, so you can take a short break while it does the job for you.

Step 3: After a couple minutes it'll be done processing the book. It is encouraged that you save the progress made so far and back it up. This will help you skip the previous step and save your time if you ever happen to download the same book again.

Type Yes to create a backup, otherwise--you know.

Step 4: Type the numbers of pages you'd like to download. Note that if a page you selected is not available in the preview, it will simply be skipped.

Step 5: We're almost done at this step. Just enter where to save the book; leave it blank and press enter to save them in your current directory.

Congrats! The book pages will be saved as images in the specified location in the highest quality available. You can now read them or combine in a PDF using online tools or desktop apps (I usually use Nitro or this website as an alternative).


DISCLAIMER OF RESPONSIBILITY: The code is provided as-is without any further warranty. It is designed solely for legal usage; the author(s) of the code are not responsible for any illegal actions done by anyone using this code. Read the License for more information.

google-books-downloader's People

Contributors

aprikyan avatar athulkrishna2015 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.