Google Book Downloader Update: High Quality

Until now, Google Book Downloader has used the default image resolution provided by Google, even though books.google.com allows you to zoom in on pages to see higher resolution. Version 2.1 fixes this, finding the highest resolution available for every book you download. To download Google Book Downloader, see the app page here.

Quality comparison between GBD v. 2.0.1 and 2.1: Click to see a larger version where you can see the difference.

As you can see, books downloaded with this new version look much better. Now, the technical details:

Books on Google Books have a zoom in button that allows you to see the pages on most books in higher detail. In order to get GBD to download higher detail images, I needed to somehow hijack this button. My first attempt was, of course, with Javascript. But the Javascript code that does the online zooming turned out to be very evasive—hidden inside layers of anonymous functions and called by Google’s custom event handling code. I eventually gave up on this.

In order to get around this problem, I used Javascript to first find the button I wanted to click, (using getElementById) but rather then trying to “click” the button with Javascript, passed the location of the button to Objective-C code. The native Objective-C code then used an NSEvent to simulate a click in the webpage.

If you’re interested, this code is all available on Github. It simply adds a few methods to WebKit’s WebView which allow you to find an element in a web page, click on a location in a web page, or click on an element.

This entry was posted in Uncategorized and tagged , , . Permalink.

8 Responses to Google Book Downloader Update: High Quality

  1. Anonymous says:

    Hi, tested with this one, and only got the first pages in better resolution: http://books.google.fi/books?id=pGzZYJd4BmwC&lpg=PA1&hl=fi&pg=PA1#v=onepage&q&f=true.

    Seems like a useful thingie otherwise :)

  2. Sasha says:

    Google Books Downloader 3.0.1.309 new 2012

    Try it, if you need E-Books From Google.

    NOTES

    ► Install the program in the default directory
    ► Use our activator to register (as admin for Vista & 7)
    ► Enjoy your newly full registered app !

    it download pages from google book automatically

    http://www.multiupload.com/KLXK90ARXE
    http://www.mediafire.com/?8lk3c1i139qgz2e
    http://www.4shared.com/rar/FtDoTFMR/Google_Books_Downloader_301309.html

    Enjoy>>>

  3. hamed says:

    thank you

  4. Thiemo says:

    One question: is it possible to start the Google Books downloader from the Terminal? I.e. to pass the required parameters, such as the Google Book ID and the download name and folder to the app and then run it from the shell? This would be extremely helpful, I havent figured out a way of doing it…

    Does there exist a shell only version?

  5. Abe says:

    i really appreciate what you have achieved. But, am a windows user so can we get the downloader for windows….please please please hac…………………..

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>